SKILL Procedures

Guest
Hi,

I understand that Procedures use only local variables. How do I
return a variable back to the program.

Regards
Alan Rodricks
 
A let() does not return a value but can modify a global variable.

A prog() allows you to do a "return(some_value)" and the end of the
prog().

i.e.

procedure(someFxn(arg1 arg2)
prog( (var1 var2 var3)
;;body of fxn
return(some_value)
);;end prog
);;end procedure
 

Welcome to EDABoard.com

Sponsor

Back
Top