Confusing Errors

Robert Brenstein rjb at robelko.com
Wed Mar 17 11:48:18 EDT 2010


On 16.03.10 at 08:39 -0700 Dan Friedman apparently wrote:
>Mark (and others),
>
>Thanks for the info.   Here's some more...
>
>   global currentTarget
>   global GlobalModeOption
>   global gStudentXML
>   global pMode
>
>   set cursor to watch
>   lock screen
>
>   put the IDNumber of currentTarget into fPane  --this is where it's tripping

Is it possible that at the runtime the currentTarget is not properly 
recognized as an object reference? I presume its content is the same 
or similar to what 'target' returns. Using 'do' in such cases helps. 
Like

do "put the IDNumber of" && currentTarget && "into fPane"

Robert



More information about the use-livecode mailing list