8 27 7 VarIsEmpty

LANSA Technical

8.27.7 VarIsEmpty

VarIsEmpty returns a Boolean True if the Subject variant does not contain a value, otherwise it returns a Boolean False.

VarIsEmpty( Subject )
 

Example

This statement checks if a value has been assigned to a grid cell:

If (VarIsEmpty( #grid_1.focusCell.column.EditorPArt ))
Use Builtin(MESSAGE_BOX_SHOW) With_Args(OK OK Information 'Variant' 'The variant has not yet been assigned a value.')
Endif
 

Ý 8.27 Variant Handling