4D v14.3System Variables |
||
|
4D v14.3
System Variables
System Variables
4D manages system variables, which allow you to control the execution of different operations. All system variables are process variables that can only be accessed within one process. This section describes 4D system variables. For more information about the type of these variables, refer to System variables in the Typing Guide. This is the most commonly used system variable. Usually it is set to 1 when an operation is successfully executed. It is set to 0 when the operation fails. Many 4D commands modify the value of the OK system variable. Refer to the description of each command to find out whether it affects this system variable. In this documentation, the pictogram indicates that a command modifies the value of the OK variable. You can click on this picture in order to generate a list of all the commands concerned. Click here to display a list of commands that modify the OK variable. Document contains the "long name" (access path+name) of the last file opened or created using the following commands: FldDelimit contains the character code that will be used as a field separator when importing or exporting text. By default, this value is set to 9, which is the character code for the Tab key. To use a different field separator, assign a new value to FldDelimit. RecDelimit contains the character code that will be used as a record separator when importing or exporting text. By default, this value is set to 13, which is the character code for the Carriage Return key. To use a different record separator, assign a new value to RecDelimit. These variables can only be used in an error-catching method installed by the ON ERR CALL command. If you want for them to be accessible in the method that caused the error, copy their value into your own process variables.
These system variables can only be used in a method installed by the ON EVENT CALL command.
|
PROPERTIES
Product: 4D SEE ALSO ARTICLE USAGE
4D Language Reference ( 4D v14 R3) Inherited from : System Variables ( 4D v12.4) |