AMOSi:Prg State

From Amiga Coding
Revision as of 01:51, 17 November 2007 by Spellcoder (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.