INT %GetItemType( HBJ in objRef, INT in col ) |
| objRef | An expression of the HBJ type - a reference to an object of Structured variable type or Structure definition. |
| col | Column index. |
Value type is expressed by an integer according to the following table:
| Column type | Value |
| Logical | 0 |
| Integral | 1 |
| Real | 2 |
| Absolute time | 3 |
| Relative time | 4 |
| Text | 5 |
| Object | 6 |
RECORD (SD.Struct)_rec INT _itemType _itemType := %GetItemType(SD.Struct\HBJ, 1) _itemType := %GetItemType(SV.Struct\HBJ, 3) _itemType := %GetItemType(_rec\HBJ, 2) |