1 4 9 RDMLX Benefits

Visual LANSA

1.4.9 RDMLX Benefits

RDMLX is an extension of LANSA's RDML. RDMLX development is done using Visual LANSA. In addition to supporting all LANSA RDML features, RDMLX enabled partitions support RDMLX language features hich include:

  • use of intrinsic field methods
  • use of function libraries
  • use of expressions in many parameters and properties
  • enhanced RDMLX command support such as assignment statements
  • simplification of RDML statements due to the removal of quotes.

For example, an intrinsic field method can be used instead of using a Built-In Function to convert a number to a string.  A numeric field such as #SALARY can be referenced as #SALARY.asString as in this example:

#PHBN_1.Left := #PHBN_2.Right + 10

#FullAddress := RightTrim(#Address1) + ' ' + RightTrim(#Address2) + ' ' + RightTrim(#Address3)

SET #Com_Owner Left(#Com_Owner.Left + 2) Top(#Com_Owner.Top + 2)

IF ((#QUANTITY *LT 10) *AND (#MEASURE *GT 10.5))

IF (#PHBN_2.Caption.Substring( 1, 1 ) = 'A')

#STD_NUM := Length(Trim(#Com_Owner.StringMethod(#Address1 #Address2)))

DOUNTIL (#I >= 11)
 

These language features may only be used in RDMLX Objects.

In order for an existing component to use these language features, the partition and components must be Enabled for Full RDMLX.

Also see

RDMLX Partition Settings in the Visual LANSA Administrator's Guide.