Run

Prev Next Home Home Table Of Contents Index

Run variable (parameters)

This runs a procedure that was stored in a variable.


Example:
var Y

Procedure WriteSquared (X) Writeln (X * X) EndProc

Y = Loc WriteSquared Run Y(3) ; This will write a 9 on the screen

Warning! Don't put the variable you are running in parentheses.


    Run (Y,3)  ; this won't work

See Also: Loc

Category: Misc

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home