IsProgram()

Syntax

Result = IsProgram(Program)
Description
Tests if the given 'Program' number is a program that was executed by the RunProgram() command. This function is bullet-proof and can be used with any value. If the 'Result' is not zero then the program is valid, else zero is returned.

Supported OS

All

<- GetEnvironmentVariable() - Process Index - KillProgram() ->