| Syntax Color Legend |
|---|
| Command |
| Mandatory parameter |
| Optional parameter |
| Mandatory keyword |
| Optional keyword |
<Result> := ALL (<Expression>, <Character>)
Use this function to test whether a value contains only the character specified as <Character>. If all characters match, the function returns TRUE. Otherwise, it returns FALSE.
Boolean
| Parameter | Description |
|---|---|
| <Result> | The object to place the boolean result in |
| <Expression> | Expression that returns the value to be tested |
| <Character> | A single character specified between single quotes (' '). The character may also be specified as a hexadecimal, so you may also specify '@41@' instead of 'A' |
sa-10 := '**********'
sn-6 := 777787
if all (sa-10, '*')
sme ('SA-10 is all stars')
endif
if not all (sn-6, '7')
sme ('SN-6 is not all sevens')
endif