AMOSi:Prg State

From Amiga Coding
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.