Define the Collections

Visual LANSA

Define the Collections

The tree array collections used to keep collections of  departments, salaries and post/zip codes are defined like this:

Define_Com Class(#Prim_ACol<#Deptment>) Name(#Department_Array)
Define_Com Class(#Prim_ACol<#Salary>) Name(#Salary_Array)
Define_Com Class(#Prim_ACol<#PostCode>) Name(#PostCode_Array)

 

The collection definitions specify the type of object to be collected and the name of the collection.

Ý Array Collection Example