CGI Status

xcall CGIUTL, CGIOP_STATUS, status

Opcode 0, CGIOP_STATUS, simply checks if A-Shell was launched with the –cgi switch. This can be useful when writing programs that work differently depending on whether they are running inactively or under control of a web server.

Parameters

status (Num)  [out]

1 for yes, else 0.