To enable dynamic calls of GeneXus objects. This feature applies to Call and Link command.
To use this feature, the “Expand dynamic calls” Property must be set to Yes (the default value is No for all generators).
This feature allows the specifier to transform a dynamic call (referencing a variable or attribute as the first parameter) into a DO CASE, with as many CASEs as programs exist in the KB with the same number and type of parameters referenced in the CALL.
The updated GX CALLs tree enables us to have information regarding who calls who.
For RPG and Cobol, the parameters type control is by equal (exact) definition. In all other generators, the criteria is as follows:
- Numeric ones must be the same, regardless of their having a sign or not.
- Character type parameters (char, vchar, and long varchar) are considered equal, and control is made as to whether the length of the calling parameter is shorter than or equal to the length of the parameter called.
- All objects which the generator cannot generate are excluded from the call expansion.
Objects: Procedures, Reports, Transactions, Web Panels, Work Panels
Languages: .Net, Ruby, Cobol, Java, RPG, Visual FoxPro
Call command