Strange compile error

Robert Brenstein rjb at robelko.com
Mon Apr 29 16:30:51 EDT 2013


On 25.04.2013 at 16:46 Uhr -0700 Peter Haworth apparently wrote:
>Don't think it needs anyone to spend any more time on it now that I've got
>it working.  I'll just accept it as a compiler weirdness, although the
>error message didn;t give any clue as to what the the real problem might
>have been.

I think Jacque was right even if she answered before being asked. 
"the long ID of pitemname" is flagged as invalid syntax since at 
compile time the object type after of is missing. Adding control 
fixes it. A workabout could be to use do ("getPropertyValues the long 
ID of" && pitemname), which would defer compilation until execution.

Robert




More information about the use-livecode mailing list