In some other Basics there's a command to create a repeated string.
In PureBasic, I would suggest it to be named "RepeatString", as in this:
Code: Select all
a$=RepeatString("*",50)
Code: Select all
For a=1 To 50 : a$+"*" : Next

Oh, and the repeated string is NOT just one character, but can be any size:
Code: Select all
a$=RepeatString("he",3) ; Returns "hehehe"