error at left operand?

Ken Ray kray at sonsothunder.com
Tue Oct 15 10:04:01 CDT 2002


Esa,

You should be very careful in naming objects with a numeric designation, as
in 'field "28"'. It is possible that Rev may interpret this as "field 28"
and look for the 28th field (this can happen if you were to pass the name of
the field as a parameter to a function, for example). I know it doesn't help
your current situation, but just wanted to pass along the FYI.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Esa Kivelä" <Esa.Kivela at ncrc.fi>
To: <use-revolution at lists.runrev.com>
Sent: Tuesday, October 15, 2002 3:01 AM
Subject: error at left operand?


> 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?
>
> EsaK
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list