Local variables

Use arguments as local variables to hold values and use them in later statements. For example:


Dim oCls As Object = ObjProperty("CLASS")

The local variable oCls holds the value for the class of the object. Local variables are accessible only in the event in which they were declared.

Variables, which are user defined, can be constructed of any letters. Infor encourages the use of meaningful variable names.

Adding a prefix that is the first letter of the data type ensures no conflict with reserved words. The prefix keeps the declared data type with the variable throughout the workflow.


Dim oCls As Object = ObjProperty("CLASS")