AMOSi:Prg Under

From Amiga Coding
Jump to: navigation, search

Checks if an AMOS program is accessible "under" the current one.

test=Prg Under

test=0 (false)

The current listing has been run directly from the Editor, as a normal AMOS program.


Your program is the only one being executed, BUT is not the currently-edited program. This happens when you "run hidden program", or use "program to menu".

test=-1 (true)

The program was PRUNned from another program.