top of page

Any Statement Example

In this example we check the value of
/count against 10 and quit when /count is 10.

Program


-- Any example no 1


prog_vars =

d/count 0

prog_vars.


prog_start =

print "Any example no 1"

prog_start.


prog_loop =

inc /count

print "Count /count"

any /count >= 10 -> exitprog


prog_loop.


prog_stop =

print "Bye"

prog_stop.



bottom of page