Following are several optional library routines and fields included with ACUCOBOL-GT. These library routines and fields are designed specifically for use with the Web runtime.
|W$BROWSERINFO routine||Returns the version and name of the requesting browser.|
|W$STATUS routine||Displays status information in the host browser's status bar.|
|IS-PLUGIN field in ACUCOBOL.DEF||Indicates whether or not the application is running in a Web browser via the ACUCOBOL-GT Web Runtime. Defined in ACUCOBOL.DEF.|
The Web runtime component (acugtax.ocx) supports the same ACUCOBOL-GT syntax as the standard runtime, with one exception. The following command is not supported:
ACCEPT mystring FROM COMMAND-LINE.
To pass parameters for the Web runtime, the instantiation of the object must call the methods "AcuParam1" through "AcuParam14" to set parameters for the application. In the COBOL code, you must then use the C$GETVARIANT function to retrieve parameters and C$SETVARIANT to return parameters.