Command: string

Syntax

string <assign> {,<assign> ... }

Description

Declare (and optionally assign) one or more string variables.

Parameters

Switches

None

Notes

If no value is given, the identifier is initialized to an empty string.

String identifier values can be placed in-line within a command line via the following phrase: ^(<string>).

Examples

New string initialized to null.

string s

Two new identifiers, initialized.

string s1 = 'now', s2 = 'then'

String array.

string bits[3] = < s1, 'and', s2 >

In-line usage.

string fname = '/usr/tmp/junk.dat'
delete ^(fname)