RDML Commands that cannot be used in Visual LANSA
When you are writing event-driven programs, the majority of the commands you will use are RDML commands. However, there are a number of commands, called RDMLX commands, which are required for the event-driven programming method.
The RDMLX commands are used to invoke methods, and to handle events and properties. These are all high level 4GL commands which shield you from many of the complexities typical of object-oriented programming. Some of these RDMLX commands are:
|
The BEGIN_COM, END_COM, DEFINE_COM and EVTROUTINE are automatically inserted by the Visual LANSA editor when you drag and drop components or click on events, so you will never have to enter them yourself.
SET is one of the few RDMLX commands you will be using frequently:
SET COM(#MyEditBox) TEXT('HELLO!')
This command sets the Text property of MyEditBox to 'HELLO!'
RDML Commands that cannot be used in Visual LANSA
Because of the difference in nature between the existing procedural LANSA programs and the event-driven programs there are some RDML commands that cannot be used in Visual LANSA:
|
Also See
2.1 Introduction to Components and Desktop Applications
RDML Commands in the Technical Reference Guide, for a list of all RDML & RDMLX commands and where each of them can be used.