AMOSi:Prg State

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

This handy function lets you know how your program was launched. It returns one of three possible values:


0 : if your program was run under the AMOS interpreter.
1 : if your program was run under the AMOS run-only module. -1 : if your program is compiled.