mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-12 12:05:20 +08:00
25 lines
302 B
Forth
25 lines
302 B
Forth
var a = 10
|
|
var b = 20
|
|
|
|
print(a<b)
|
|
print(1+2)
|
|
print(1-2)
|
|
print(1*2)
|
|
print(1/2)
|
|
print(3%2)
|
|
print(a||b)
|
|
print(a&&b)
|
|
print(a|b)
|
|
print(a&b)
|
|
print(!a)
|
|
print(~a)
|
|
print(a<b)
|
|
print(a<=b)
|
|
print(a>b)
|
|
print(a>=b)
|
|
print((1+2)*(2+3))
|
|
print(sin(a) + sin(b))
|
|
print(set(a, a+1))
|
|
print(set(a, a+b))
|
|
print("abc" + "123")
|