Loading...
Select Version
&pagelevel(3)&pagelevel
Domain: String functions/test functions
The IS-SDF-STRUCTURE( ) function analyzes whether the specified string is an SDF structure.
The specified SDF structure must be introduced by a value. This value must not be omitted, or else the string will be regarded as an SDF list and not as an SDF structure.
Format
IS-SDF-STRUCTURE( ) |
STRING = string_expression |
Result type
BOOLEAN
Input parameters
STRING = string_expression
Name of the string which is to be analyzed.
Result
TRUE
The specified string is an SDF structure.
FALSE
The specified string is not an SDF structure.
Error messages
No error messages
Example
/A=IS-SDF-STRUCTURE('*P(val1,val2)') /SHOW-VAR A A = TRUE /A=IS-SDF-STRUCTURE('(val1,val2)') A = FALSE
In this case the string will be regarded as an SDF list.
/A=IS-SDF-STRUCTURE('val') /SHOW-VAR A A = FALSE