AW: $O10 - Confusion about tasks, multilibs and duplicated memory-only file-formats - #??? problem
bub
buppeke at gmail.com
Thu May 28 21:28:45 EDT 2020
Rudolf, thanks, i am not there yet but this is surely pointing me in a
good thinking direction!
All the best
Bruno
On 28/05/2020 15:15, Rudolf Bargholz wrote:
> Hi Bruno,
>
> The ??? come when the variable referenced cannot be found. This can happen if you open one library that depends on another library, and you forget to have both libraries open. You inherit a class in LIB A and use this as the superclass in LIB B. Then you close all libraries, and then ONLY open LIB B. If you now have a look in your code, the previously inherited variable from LIB A is no longer available, and ??? is displayed.
>
> Could this perhaps be your issue? We get this sometimes, and just need to make sure we open all libraries that are needed before editing code.
>
> Regards
>
> Rudolf Bargholz
>
> -----Ursprüngliche Nachricht-----
> Von: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> Im Auftrag von bub
> Gesendet: Donnerstag, 28. Mai 2020 04:46
> An: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
> Betreff: $O10 - Confusion about tasks, multilibs and duplicated memory-only file-formats - #??? problem
>
> Dear $all,
>
> I have been doing my utterly best to understand the concepts of Studio in the last month.
>
> I have been kind of 'lucky' to be thrown into an existing app that uses Studio to the fullest, not just a converted app.
>
> I managed to do what was expected from me so far but i do have a hard time getting to truly understand the code
>
> Here and now, i am utterly stuck and i need some help
>
> So this app has many, many libraries and many, many tasks
>
> In each library they copied the same file classes which are used for constants, a bit of a classic construction where the description is copied as value into the variable, like Calculate refFile.$vals.[refobj().$name] as refobj.$desc
>
> The initialisation of this constants is done in de startup task of each library (by calling a method in another lib's object)
>
> The problem I have is that the variables are replaced by #??? in my code after certain conditions (noticeable by putting a breakpoint while running). What might be the reason for that? What do i look for?
>
> Is the value and 'reachability' of this file class determined by task or lib?
>
> Thanks
>
> Bruno Huyssen
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list