


Using a new field in ACUCOBOL.DEF, your COBOL program can determine whether or not it is running in a Web Browser via the ACUCOBOL-GT Web Browser Plug-in. The new field, known as IS-PLUGIN, is defined in the SYSTEM-INFORMATION group of ACUCOBOL.DEF.
For example, you could include the following code:
ACCEPT SYSTEM-INFORMATION FROM SYSTEM-INFO.if IS-PLUGIN then
display message box "Running via the Web Browser Plug-in"
else
display message box "Running via the stand-alone runtime"
end-if.