Chapter 5 Customizing Generation with GTL
Permits the undefining of both local variables and volatile attributes defined through the .set_value and .set_object macros
.unset([scope.]name)
The following parameters are available:
| Parameter | Description |
|---|---|
| scope | [optional] Qualifying scope.
Type: Simple-template returning an object or a collection scope |
| name | Local variable or volatile attribute name.
Type: Simple template |
Example:
.set_value(i, 1, new) %i?% .unset(i) %i?%
The second line outputs true as the variable 'i' is defined while the last one outputs false.
| Copyright (C) 2008. Sybase Inc. All rights reserved. |
| |