Add files via upload
This commit is contained in:
parent
64c6352265
commit
35131ba393
90 changed files with 1738 additions and 0 deletions
13
Examples/Core/Operators/arithmetic.bas
Normal file
13
Examples/Core/Operators/arithmetic.bas
Normal file
|
@ -0,0 +1,13 @@
|
|||
SUB MAIN
|
||||
PRINT "14 + 2 = " + STRING(14 + 2)
|
||||
PRINT "14 - 2 = " + STRING(14 - 2)
|
||||
PRINT "14 * 2 = " + STRING(14 * 2)
|
||||
PRINT "14 / 2 = " + STRING(14 / 2)
|
||||
PRINT "157 % 100 = " + STRING(157 % 100)
|
||||
PRINT "10.0 ** 2.0 = " + STRING(10.0 ** 2.0)
|
||||
PRINT "5 * -3 = " + STRING(5 * -3)
|
||||
|
||||
PRINT "3 * 4 + 2 = " + STRING(3*4+2)
|
||||
PRINT "(3 * 4) + 2 = " + STRING((3*4)+2)
|
||||
PRINT "3 * (4 + 2) = " + STRING(3*(4+2))
|
||||
END SUB
|
Loading…
Add table
Add a link
Reference in a new issue