|
|
This command can be used to set an individual return code for a command or function, which can then be queried by means of 'result_get'. |
||||||
| The return code must be queried immediately after command or function execution because it is always overwritten. | |||||||
Syntax: |
|||||||
| result_set({INT_VAR}) | |||||||
I/O parameters:
|
|||||||
Return value: |
|||||||
|
|||||||
Example: |
|||||||
| Declaration of Variables | |||||||
10 put("This is only a test!")
20 result_set(221099)
30 DOKU_INT_1=result_get()
40 if (DOKU_INT_1==221099)
50 put("Text was displayed!")
60 else
70 put("ERROR: Text was not displayed!")
80 endif
|
|||||||
|
Functions and commands: Other Functions and Commands |