Command: set

Syntax

set <assign> {,<assign> ... }

Description

Set all elements of an array to the same value.

Parameters

Switches

None

Examples

Set all values of win1.tols (a 3-element array) to 0.

set win1.tols=0

Set a range of string values.

string mys[10]
set mys='Yes', mys[5:7]='No'

Add 10 row all elements of a numeric array mynums.

numeric mynums[100]
set mynums += 10