STR

STR


STOP Index Level string.expression
Syntax STR( string.expression, num.expression )
Category BASIC
Type Function
Description repeates a "string.expression" the number of times specified in "num.expression"

See the "system" function for retrieving the current device width to substitute as the numeric expression.
Options
See Also SPACE term statements & functions num.expression functions SYSTEM
Example print str("*",79)

This prints 79 "*" (asterisks) at the current cursor (or print head) position.

print str("=",system(2))

This prints a string of "=" (equal signs). The number of "="'s that it prints is determined by system(2), which contains the current device output width most recently designated with a "term" command.
Warnings
Compatibility D3 7.0 AP R83
STOP Index Level string.expression