Chapter 9 Generation Reference Guide (GTL)
Global variables are available regardless of the current scope. A number of GTL-specific variables are defined as global as listed in the following table:
| Name | Type | Description |
|---|---|---|
| ActiveModel | Object | Active model |
| GenOptions | struct | Gives access to the user-defined generation options |
| PreviewMode | boolean | True if in Preview mode, false if in File Generation mode |
| CurrentDate | String | Current system date and time formatted using local settings |
| CurrentUser | String | Current user login |
| NewUUID | String | Returns a new UUID |
| Copyright (C) 2005. Sybase Inc. All rights reserved. |
| |