Home page  
Help >
DDL Command UNSET
Version 7.11
DDL Command UNSET UNSET

The UNSET command erases string variables. String variables are created with the SET, PROMPT, CHOOSE, LISTPICK, MENU, CALENDAR, FETCH, MOVE, and TIMING commands.

Syntax:
UNSET/options [variable-name,...,variable-name]

Notation standards Options Answers
Options:
X -Suppress the command response.
Y -Do not alter the command answer cells.
Z -Delete allstring variables, even super globals.

Answers:
Ctl.Ans1 =Zero
Ctl.Ans2 =Zero
Ctl.Ans3 =Zero

Notes:
To delete a specific string variable, include its name in the command.

unset %x %y
-Deletes the variables %x and %y from the string variable pool

To delete all string variables except the "Super Global" variables:

unset

Super global variables are the ones whose names begin with two percent signs. To delete these from the string variable pool you must do it explicitly by name or use the Z option:

unset/z
-Deletes all string variables, including super globals.

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.