Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement