General information
Category:
Coding, syntax & commands
>Why not use a character depiction of the reference, instead of a direct
>pointer? This'll take a millisecond to resolve into a pointer when you
>require it, but it'll also allow you to blow away objects on a whim (or
>a crash) if required. In any of the application level classes that I
>use, I hold a character reference, just so I don't have a pointer
>holding the object open.
Excuse me, Paul, do you mean setting a property to something like "THISFORM.MyObject" and when needing the reference just issuing & on the property?
If so, that couldn't be done if I want to use the reference in another place such as another Form or another object outside it (what is very usual here). For example, how could I use a character depiction of the reference in this situation:
DO FORM MyForm WITH THISFORM
Did I understand you well or am I missing something?
Greetings,
Renato
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only