8 28 Enhanced Expressions

LANSA Technical

8.28 Enhanced Expressions

In Full RDMLX, you can use 8.28.1 Expressions as Values for many command parameters thus eliminating the need for additional commands to prepare the required value. For example you can specify:

MESSAGE MSGTXT('Message: name is '  + #fullname)
 

It is now possible to use component 8.28.2 Methods in Expressions. For example:

Change #STD_TEXT To(#COM_OWNER.StringMethod(#ADDRESS1, #ADDRESS2))
 

You can define one of the parameters of a method to return 8.28.3 Method Results.

 

You can use 8.28.4 Named Parameters instead of referring to parameters by position:

#RESULT = #COM_OWNER.MethodOne( ParmTwo := 2 )
 

Other operators available:

8.28.5 *Not Operator

8.28.6 *IS and *ISNOT Operator

8.28.7 *IsEqualTo and *IsOfType Operators

8.28.8 *AS Operator

8.28.9 *ANDIF and *ORIF Logical Operators

Ý 8. RDMLX Commands and RDMLX Features