Difference between revisions of "AMOSi:End Proc"
Spellcoder (talk | contribs) m (1 revision(s)) |
Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile) |
(No difference)
|
Revision as of 02:45, 17 November 2007
an example can be found on AMOSPro_Tutorial:Tutorials/Procedures_1.AMOS
Marks the END of a PROCedure. Like PROCEDURE, it must occupy its own separate line in your program.
Procedure NAME
: : : Amos instructions go here
End Proc
You can also return a value from the procedure like so:
Endproc[number]
Endproc[real#]
Endproc[s$]
These values can be subsequently read by your program with PARAM, PARAM#, and PARAM$ respectively.