8 13 2 IF_REF Examples

LANSA Technical

8.13.2 IF_REF Examples

This example shows a message box if a reference to component #WordApp exists:

If_ref Com(#WordApp) Is_Not(*null)
   Use Builtin(MESSAGE_BOX_SHOW) With_Args(OK OK Information 'Reference' '#WordApp is referenced.')
Endif