error at left operand?
Richard Gaskin
ambassador at fourthworld.com
Tue Oct 15 04:11:01 EDT 2002
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.
--
Richard Gaskin
Fourth World Media Corporation
Custom Software and Web Development for All Major Platforms
Developer of WebMerge 2.0: Publish any database on any site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
More information about the use-livecode
mailing list