I have been going through the example code learning what I can, and to do this I have tried to compile the examples in SYNERGY, on this particular code line 5 has a problem. The problem arising in the set text font "arial" : set text size 20 commands.
Give a look over please and tell me if the example is coded wrong and if so where should I start to get a basic handle on the well...basics of coding =)
rem Math Showcase
prettybackdrop()
rem Standard Setup Code for all examples
set text font "arial" : set text size 20
set text to bold : set text transparent
rem TITLE
center text screen width()/2,2,"MATH OPERATIONS"
set cursor 0,40 : set text size 14
rem VARIABLE DATA TYPES
r as integer : a as integer : b as integer
`r as float : a as float : b as float
`r as boolean : a as boolean : b as boolean
`r as byte : a as byte : b as byte
`r as word : a as word : b as word
`r as dword : a as dword : b as dword
rem LITERAL RADIX FORMS (binary, decimal, octal, hexidecimal)
a=5
b=%1011
b=11
b=0x0B
b=0c13
rem VARIABLES
print "WHERE a=";a;" b=";b
print
rem BITWISE COMMANDS
print "BITWISE OPERATIONS"
r = a >> b : print "SHIFT a >> b = ";r
r = a << b : print "SHIFT a << b = ";r
r = a && b : print "AND a && b = ";r
r = a || b : print "OR a || b = ";r
r = a ~~ b : print "XOR a ~~ b = ";r
r = a .. b : print "NOT a .. b = ";r
print
rem LOGIC OPERATORS
print "LOGIC OPERATIONS"
print "IF a AND b is "; : if a and b then print "TRUE" else print "FALSE"
print "IF a OR b is "; : if a or b then print "TRUE" else print "FALSE"
print "IF NOT b is "; : if not b then print "TRUE" else print "FALSE"
print "IF a = b is "; : if a=b then print "TRUE" else print "FALSE"
print "IF a <> b is "; : if a<>b then print "TRUE" else print "FALSE"
print "IF a > b is "; : if a>b then print "TRUE" else print "FALSE"
print "IF a >= b is "; : if a>=b then print "TRUE" else print "FALSE"
print "IF a < b is "; : if a
<B>You Run Out of Food With 200 Million People, You Run out of Thought with 200 Million people, you better hope somebody wants to be President. </b>