define

Syntax

define name [= value]

Description

Defines a string substitution alias.

If no value is provided, ttIsql displays the current definition for the specified name.

You must set define on to enable command substitution.

undefine name undefines a string substitution alias.

Examples

Command> Set define on; 
Command> define q = 'myvalue';
define2var defines the value and make it a variable that you can use as a parameter variable.
define2var myalias mybindvar 
Command> define2var a1 arr[2];
var2define it takes the value of a named variable and then define it.
var2define mybindvar myalias
Command> var2define arr[2] alias2;