REDIM Verb

Syntax

REDIM strvar${,strvar$...}{,ERR=lineref}

Description

The REDIM verb redimensions one or more string templates, equivalent to DIM strvar$:FATTR(strvar$).

Parameter

Description

strvar$

Simple string variable dimensioned with a template. An !ERROR=47 is reported if strvar$ is not a templated string.

ERR=lineref

Branch to be taken if an error occurs during execution.

Example

>dim fin$:tmpl(0,ind=0)

>let fin$=fin(0,ind=0)

>print fin.maxcols,fin.maxrows

80 25

>redim fin$

>print fin.maxcols,fin.maxrows

0 0

>

 

See Also

String Templates

Verbs - Alphabetical Listing