ENDBOX |
Endbox displays a serious error box.
[ Local ] Endboxlist_exprg [ Titledexp_title ] Sleepleadtime
|
Element |
Description |
Restrictions |
|
list_exprg |
List of generalised expressions separated by the character ','. |
The expressions must be alpha-numeric and their number limited to 255. |
|
exp_title |
Alphanumeric expression for the box title. |
length<= 50 |
|
lead-time |
integer expression expressing a lead-time. |
lead-time >=0 |
# Opening of a file with error management (it is possible to
# test for the existence of the file by the filinfo function)FLAG_ERREUR=0
# If an error occurs, go to the label PB_OUVERTURE
Onerrgo PB_OUVERTURE
# Opening of a sequential file
Openi filpath("TXT","TEST","txt")
# No branching on error now
Onerrgo
If FLAG_ERREUR # Stop if an error occursEnd
Endif
#
# ... rest of process ... # # Label defined by the GESERR process PB_OUVERTUREEndboxerrmes$(errn)
FLAG_ERREUR = 1 Resume :# Return to the line following the error
Endbox is used to declare a box serving to display a serious error message.
At both the technical level and the interface level, the Endbox is based on the same principle as the Errbox instruction, with a differing pictogram (red cross in the place of the yellow triangle).
It is necessary to reserve it for the case of blocking errors.
With the Web client, the receipt of an Endbox message during the connection phase leads to the failure to open the client window, which will lead to a large increase in the network traffic.
It is for this reason that password errors will be returned with an Endbox.
On the other hand, in all the other phases of the functioning, this type of error is interpreted like the other errors.
|
Error |
Description |
|
ERMODE (10) |
- The expressions are not alphanumeric. |
|
ERINDI ( 8) |
Error in the index ranges. |
|
ERDIM (55) |
Too many dimensions given. |
|
PLUMEM (31) |
No more memory available. |
ONERRGO - WRNBOX - INFBOX - QSTBOX - SELBOX - INPBOX - DLGBOX - MESBOX - ERRBOX
|
|