![]() ![]() ![]() ![]() | Table Of Contents | Index |
Example:In the above example the variable A is the same as Local[1], B is Local[2], C is Local[3], and D is Local[4]. The Local command can be used to pass a varying number of parameters to a procedure as follows:
Procedure Test (A,B) var C,D Writeln A B C D EndProc
Example:This example writes the numbers 1 through 4
Procedure Test Loop Local Writeln LoopVal endloop EndProcTest (1,2,3,4)
The procedure Test will accept and process any number of parameters you wish to pass to it.
Category: | Array |
---|
![]() ![]() ![]() ![]() | Table Of Contents | Index |
|