Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/Runtime-evaluation/FreeBASIC/runtime-evaluation.basic
Normal file
16
Task/Runtime-evaluation/FreeBASIC/runtime-evaluation.basic
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#macro assign(sym, expr)
|
||||
__fb_unquote__(__fb_eval__("#undef " + sym))
|
||||
__fb_unquote__(__fb_eval__("#define " + sym + " " + __fb_quote__(__fb_eval__(expr))))
|
||||
#endmacro
|
||||
|
||||
#define a, b, x
|
||||
|
||||
assign("a", 8)
|
||||
assign("b", 7)
|
||||
assign("x", Sqr(a) + (Sin(b*3)/2))
|
||||
Print x
|
||||
|
||||
assign("x", "goodbye")
|
||||
Print x
|
||||
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue