Problems with the DO command

Klaus Major k_major at os.surf2000.de
Tue Aug 6 09:03:00 CDT 2002


Hi Ian,

> Hi
>  
> ...
> However, this handler
> processmytable "put mytable[tx,ty] after last char of fld 
> quote&mydisplay&quote "
> causes this error.
>
> Error description:  do: can't find command
> --------------------
> do tcommand
> --------------------
> Value: &
>
> I've tried building the statement in a variable and passing the 
> variable to my handler but that doesn't work either. I suspect that I 
> am missing something pretty obvious but what it is is eluding me.
> Could someone shed some light please.
> BTW I am using a licensed version of Revolution.
>
> Thanks
> Ian McKnight

looks like the string for the "do" statement is not correct.

Try this:

...
processmytable "put mytable[tx,ty] after last char of fld" & quote & 
"mydisplay" & quote
...

Hope this helps.


Regards

Klaus Major
k_major at os.surf2000.de




More information about the use-livecode mailing list