VS: error at left operand?

Esa Kivelä Esa.Kivela at ncrc.fi
Tue Oct 15 04:17:03 EDT 2002


> -----Alkuperäinen viesti-----
> Lähettäjä: Richard Gaskin [mailto:ambassador at fourthworld.com]
> Lähetetty: 15. lokakuuta 2002 12:05
> Vastaanottaja: use-revolution at lists.runrev.com
> Aihe: Re: error at left operand?
> 
> 
> Esa Kivelä wrote:
> 
> > I have code:
> > 
> > on idle
> > set the itemdel to ","
> > put item 1 of field "huu" + item 1 of field "buu" + item 1 
> of field "suu" into
> > field "28"
> > 
> > end idle
> > 
> > and I get error message: "  * There was an Execution Error 
> at 10:58:55 AM
> > Error description:  Operators +: error in left operand
> > Object: field id 1066 of card id 1002 of stack "C:/Program 
> Files/Revolution
> > 1.1.1/resusrssikortti.rev"
> > --------------------
> > put item 1 of field "huu" + item 1 of field "buu" + item 1 
> of field "suu" into
> > field "28"
> > --------------------"
> > 
> > What that mean?
> 
> Try clarifying it for the interpreter with parentheses:
> 
>  put (item 1 of field "huu") + (item 1 of field "buu") + 
> (item 1 of field
> "suu") into field "28"
> 
> Also, make sure the data in item 1 is numeric.

Tried and get that error message:

" * There was an Execution Error at 12:10:16 PM
Error description:  Operators +: error in left operand
Object: field id 1066 of card id 1002 of stack "C:/Program Files/Revolution 1.1.1/resusrssikortti.rev"
--------------------
put (item 1 of field "huu") + (item 1 of field "buu") + (item 1 of field "suu") into field "28"
--------------------
Value: idle" 



More information about the use-livecode mailing list