A hard challenge anyone?
Phil Davis
revdev at pdslabs.net
Thu Feb 15 22:53:35 EST 2007
Kay C Lan wrote:
> PS Origininally tried to replace the tokens with the efficient:
> put "=, +, -, *, /, [, ], {, }, <, >" into tMyTokens
> REPEAT for each item tMyItem in tMyTokens
> replace tMyItem with empty in tMyFunctionResult
> END REPEAT
>
> and even tried this as the replace line above:
>
> replace quote & tMyItem & quote with empty in tMyFunctionResult
>
> but neither worked. Bug?
Your list of tokens contains spaces. Did you try your loop without the spaces in
there? Maybe it would make the difference. And maybe not - just a guess.
I suppose another way would be to get rid of the commas too, and change the
repeat to:
REPEAT for each char tMyItem in tMyTokens
Phil Davis
More information about the use-livecode
mailing list