The str() function repeats a str.exp the number of times specified in num.exp.
str(str.exp, num.exp)
str.exp | String to repeat. |
num.exp | Number of times to repeat the string. |
Prints 79 asterisks at the current cursor (or print head) position.
print str("*",79)
Prints a string of =. The number of = that print is determined by system(2), which contains the current device output width most recently designated with a TCL term command.
print str("=",system(2))