Parameter Loop Expression Tokens
CodeGen includes parameter loop expressions are expressions that can only be used within the context of a parameter loop. CodeGen supports parameter loop expressions via the <IF expression> and </IF [expression]> tags. Note that loop utility expressions can also be used within parameter loops.
Expression |
Description |
|
The parameter type is ALPHA. |
|
The parameter type is BINARY HANDLE. |
|
The parameter exposes a collection. |
|
The parameter exposes a collection via an array. |
|
The parameter exposes a collection via a dynamic memory handle. |
|
The parameter exposes a collection via an ArrayList. |
|
The parameter type is coerced to a different type. |
|
The parameter type is coerced to type BOOLEAN. |
|
The parameter type is coerced to type BYTE. |
|
The parameter type is coerced to type DATETIME. |
|
The parameter type is coerced to type NULLABLE DATETIME. |
|
The parameter type is coerced to type DECIMAL. |
|
The parameter type is coerced to type NULLABLE DECIMAL. |
|
The parameter type is coerced to type DOUBLE. |
|
The parameter type is coerced to type FLOAT. |
|
The parameter type is coerced to type INT. |
|
The parameter type is coerced to type LONG. |
|
The parameter type is coerced to type SBYTE. |
|
The parameter type is coerced to type SHORT. |
|
The parameter type is coerced to type UINT. |
The parameter type is coerced to type ULONG. |
|
|
The parameter type is coerced to type USHORT. |
|
The method has an associated comment. |
<IF CUSTOM_PARAMETER_expression>
|
Custom parameter loop expressions allow you to test custom conditions based on custom parameter expressions defined in a method catalog extensions file. Note that custom expressions are not case sensitive, always being converted to uppercase for comparison.
|
|
The parameter is exposed as a DataTable. |
|
The parameter is a DATE. |
|
The parameter is a YYYYMMDD date. |
|
The parameter is a YYMMDD date. |
|
The parameter is a YYJJJ date. |
|
The parameter is a YYYYJJJ date. |
|
The parameter is a YYYYMMDDHHMMSS date/time. |
|
The parameter is a date or time. Valid types are YYMMDD, YYYYMMDD, YYYYMMDDHHMISS, YYJJ, YYYJJ, HMM and HHMMSS. |
|
The parameter type is DECIMAL. |
|
The parameter is passed by descriptor. |
|
The parameter type is ENUM. |
|
The enumeration parameter being processed refers to an enumeration that has not previously been encountered in this loop.
|
<IF FIRST_INSTANCE_OF_STRUCTURE>
|
The structure parameter being processed refers to a structure that has not previously been encountered in the current parameter loop.
|
<IF FIRST_INSTANCE_OF_STRUCTURE2>
|
The structure parameter being processed refers to a structure that has not previously been encountered in the current parameter loops outer method loop. In other words, this is the first time the structure has been referenced by any method in the interface.
|
|
The parameter type is HANDLE. |
|
The parameter type is IMPLIED DECIMAL. |
|
The parameter is an IN parameter. |
|
The parameter is an INOUT parameter. |
|
The parameter is an IN or INOUT parameter. |
|
The parameter type is INTEGER. |
|
The parameter is OPTIONAL. |
|
The parameter is an OUT parameter. |
|
The parameter is an OUT or INOUT parameter. |
|
There are more IN or INOUT parameters still to be processed. |
|
There are more OUT or INOUT parameters still to be processed. |
|
The parameter is passed by REFERENCE. |
|
Tests whether the name of the parameter being processed matches the name in the tag. Parameter names are NOT case sensitive when processed by this feature.
|
|
The parameter is REQUIRED. |
|
The parameter type is STRING. |
|
The parameter type is STRUCTURE. |
|
The parameter is a TIME. |
|
The parameter is an HHMM time. |
|
The parameter is an HHMMSS time. |
|
The parameter is passed by VALUE. |
Copyright © 2021 Synergex International, Inc.