calld Statement
Purpose:
The calld command allows you to call a routine by using a variable for the label name hence the name calld where d stands for dynamic. If the given label is not found, then control will pass to the next statement without error conditon.
To call a label for execution
Syntax:
call mylabel
Comments:
Example:
lab = "mylabel"
calld lab // calld stands for call dynamic
print "done"
halt
mylabel:
// do something
print "in mylabel"
return
program output below
in mylabel
done