Object Ref. Won't Set
Doug Easterbrook
doug at artsman.com
Sat Dec 10 20:37:00 UTC 2022
I think you have to have the library specified where the object resides
if its the current library, then you can use
Do $clib$objects.oCC.$newref() Returns iorCC
or
calculate iorCC as $clib$objects.oCC.$newref()
I ran through all our code and we use either form above, but always with $clib. to prefix $object
Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 650-1978
> On Dec 10, 2022, at 9:26 AM, Das Goravani <goravanis at gmail.com> wrote:
>
>
> Dear All,
>
> I have this simple line of code, but the object reference at the end remains "undefined".
>
> oCC is an object that I have. iorCC is an object reference.
>
> Do $objects.oCC.$newref() Returns iorCC
>
> That simple line of code was working. I have been away from this app for a couple weeks, now I return, and this simple line doesn’t work.
>
> What could cause this to be? What things should I be looking at to figure this out?
>
> Thanks
>
> Das
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list