I can't think of one, but I wonder how big a deal it would be to
change the engine to be able to do a reverse range, so that you could do
put char -1 to 1 of ABCDEF into myBackwardVariable.
It might be useful to be able to 'get line 9 to 6 of myList', for
example, or maybe it should be 'get
Is there a command or other means to flop a string of characters, rather
than iterating over each character in the string?
In other words, change ABCDEF into FEDCBA.
I'm not against iterating, but I was wondering if there might be a more
direct method.
Thanks Regards,
Scott Rossi
Creative
On Dec 28, 2005, at 10:41 PM, Scott Rossi wrote:
In other words, change ABCDEF into FEDCBA.
I don't know of a clever way to do this off the top of my head, but I
do know that this:
repeat for each char c in x
put c before y
end repeat
degrades _really_ badly as the size of x