basic.str
Generates string of characters.
Syntax
str(string.expression, num.expression)
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.
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.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
