Subroutine Name | Executable Example | Viewable Example |
---|---|---|
W3INFO |
E3INFO |
E3INFO |
This program enables you to set and read some internal values of the Web Interface.
Read (Action ' ')
The values for ERROR-NR VERSION, LOG-TIME, FORM, LIST(*) and
LIST_MAX will be returned.
Set List (Action 'L')
For H3-OPEN-LIST, H3-CLOSE-LIST and H3-LIST-ITEM, an internal
array is used to save the style of the generated list. This style will be used
to generate the correct close tag.
Set Form (Action 'F')
For all programs, you can generate tags that can only be used
inside a FORM tag. A flag can be called to check if a FORM is open or not. The
flag will be changed by H3-OPEN-FORM and H3-CLOSE-FORM.
The LDA W3PINFO
has been changed, and the variables
LOG-TIME
, VERSION
and WEBAPI
have been
changed to (A) dynamic.
LOCAL USING W3PINFO
1 ##W3INFO 2 ACTION (A1) /* i /m : Action to be called 2 LOG-TIME (A) DYNAMIC /* o/m : Log time set by the Natural Web Interface 2 VERSION (A) DYNAMIC /* o/m : Version set by the HTTP Server Extension 2 WEBAPI (A) DYNAMIC /* o/m : Version set by the Natural Web Interface 2 ERROR-NR (I4) /* o/m : Error number set by the Natural Web Interface 2 FORM (L) /* io/m : Indicates whether a FORM is open 2 LIST (A1/1:10) /* io/m : Saves the type of LIST 2 LIST_MAX (N2) /* io/m : Current number of nested LISTs
PERFORM W3INFO ##W3INFO