Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory objects saved into cursors
Message
De
19/02/2019 02:47:51
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
18/02/2019 13:38:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01666501
Message ID:
01666534
Vues:
45
>>A reference to a pointer still points to the same object.
>
>Yes. That's what I want. I want a reference to the existing object, so that the object exists, and the reference points to the object that exists as well.
>
>It's as the second example was setup in my code above. I'm effectively using that method presently, and it works, but it's clunky. I would like to have a way to store a binary object which is the explicit reference to the existing object, so I could reference it without having to use an intermediate variable name which is then set to the object reference itself. I'd like to remove that "middle man" if possible.

My dear, I fear this is not possible with VFP. Remember, this is a dinosaur. Even if you figure out the adress of an object. Run time generated stuff like objects and there props might be mixed with vars.(Create a var, create an object, an other var and then a property to the object. The storage of the object must be fragmented somehow.) Stuff you can not store binary like references to other objects
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform