Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

S variables

&pagelevel(4)&pagelevel

It is possible to access S variables in EDT (for S list variables, it is necessary to install SDF-P). Unlike the integer, string and line number variables, S variables persist after EDT has terminated and it is possible to access existing S variables in EDT.

In EDT, it is possible to output the content of S variables of type STRING and INTEGER, transfer this content to a work file, a string variable or an integer variable (@GETVAR), generate S variables of type STRING and INTEGER and assign values to them (@SETVAR) as well as to generate S list variables (type LIST with element type STRING), extend such variables, assign values to them (@SETLIST) and transfer their values to a work file (@GETLIST). In EDT procedures, it is not possible to evaluate the content of S variables directly but instead only after this has been transferred to a work file, a string variable or an integer variable.

BS2000 does not assign any character set to S variables. When an S variable is read with @GETVAR, it is therefore possible to explicitly define the character set in which EDT is to interpret the content of the S variable. If nothing is specified then the default mechanisms described in the section on character sets apply.