>What is most efficient way to create a string of n SPACES. My current code
>is very slow!
>
>spaces = 30
>tmpStr = ""
>repeat with i = 1 to spaces
>   tmpStr = tmpStr & " "
>end repeat

I think put after runs faster than &:

repeat with i = 1 to spaces
   put SPACE after tmpStr
end repeat

I'm not sure if the keyword SPACE is any faster than " ", but it's worth a try.


Cordially,

Kerry Thompson


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to