AMOSi:Def Fn

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-6/Help_61.amos


Creates a user-DEFined FunctioN, used for the quick calculation of values. It must be given a name, followed by a bracketed list of variables separated by commas. The expression can include any AMOS functions, limited to a single line of your program. (See FN).


Def Fn name(variables)=expression