need help with strings

Jared Smith smith.sgt at gmail.com
Sun Jun 18 01:26:17 EDT 2006


Hmmm...I put the following in the message box:

repeat for 3 times
tabString = tabString & tab
end repeat
answer tabString & "hello"

The error I received is:

Script compile error:
Error description: Expression: double binary operator

On 6/18/06, Dar Scott <dsc at swcp.com> wrote:
>
> On Jun 17, 2006, at 11:03 PM, Jared Smith wrote:
>
> > repeat for myVariable times
> > tabCount = tabCount+tab
> > end repeat
> > put tabCount & "Hello" into field "Field"
>
> Almost there!  Change the + to & and accumulate tabs in the string.
>
> (The name tabCount sounds like a number; call it tabs or tabString.)
>
> Dar Scott
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list