25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
405B

  1. class Box
  2. public word size
  3. end class
  4. program Main
  5. var x as byte
  6. var w as word
  7. var i as integer
  8. var c as char
  9. var ok as boolean
  10. var b as Box
  11. var arr as byte[3]
  12. w = w + ok
  13. ok = ok + ok
  14. ok = w and ok
  15. ok = not w
  16. w = -w
  17. i = w + i
  18. ok = c < x
  19. ok = ok < ok
  20. w = "a" + 1
  21. w = b + 1
  22. ok = b = 5
  23. w = arr + 1
  24. x = x + 300
  25. ok = 5 = c
  26. w = (w + ok) * 2
  27. ok = - ok
  28. end program

Powered by TurnKey Linux.