CGI Status

xcall CGIUTL, CGIOP_STATUS, status

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