#COMPILE EXE "s01_basic_math.exe"
' Sample: Basic arithmetic operations
FUNCTION PBMAIN() AS LONG
    DIM a AS LONG, b AS LONG
    a = 100 : b = 7
    PRINT "a="; a; " b="; b
    PRINT "a+b="; a+b
    PRINT "a-b="; a-b
    PRINT "a*b="; a*b
    PRINT "a/b="; a/b
    PRINT "a MOD b="; a MOD b
    PRINT "a^2="; a*a
    FUNCTION = 0
END FUNCTION
