Ryan 70fa89de8c Added threading support and fixed bugs
Internal functions fixed!
now empty args on internal functions will not bug out!

Added some new methods
2017-08-26 20:53:49 -04:00

20 lines
355 B
Plaintext

[THREAD]{
::loop::
n=random(1,4)
if n==1 then SetFG(Color_Blue)|SKIP(0)
if n==2 then SetFG(Color_Red)|SKIP(0)
if n==3 then SetFG(Color_Green)|SKIP(0)
if n==4 then SetFG(Color_Yellow)|SKIP(0)
sleep(.1)
GOTO("loop")
}
[START]{
print("Testing threading!")
n==0
newThread("THREAD")
c=0
::loop::
c=c+1
"c = $c$ n = $n$"
GOTO("loop")
}