need help with strings

Dar Scott dsc at swcp.com
Sun Jun 18 01:29:00 EDT 2006


On Jun 17, 2006, at 11:03 PM, Jared Smith wrote:

> put tab * 2 & "Hello" into field "Field"
>
> This returned an error. Why can't I tell it to put in two tabs this
> way?

Oh, I didn't answer this first question.

Were you hoping that the expression "abc"*2 would result in "abcabc"?

That sounds like it might be an interesting extension of the  
language, but it won't work.

In Revolution "10" and 10 are the same.  So, should "10"*2 be "1010"  
or "20"?  For Revolution it is the latter.

Dar Scott




More information about the use-livecode mailing list