Chapter 9 Generation Reference Guide (GTL)
Permits the undefining of both local variables and volatile attributes defined through the .set_value and .set_object macros
.unset([<scope>.]<local-var-or-volatile-attr-name>)
| Parameter | Type | Description |
|---|---|---|
| <scope> (optional) | Simple-template returning either an object or a collection scope | Qualifying scope. |
| <local-var-or-volatile-attr-name> | Simple template | Local variable or volatile attribute name. |
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) 2007. Sybase Inc. All rights reserved. |
| |