Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory locations
Message
De
25/02/2006 08:06:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
25/02/2006 07:47:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01099173
Message ID:
01099180
Vues:
19
>Hi All.
>
>Perhaps a strange question but given a variable tvar1 = "some chars" will the line tvar1 = tvar1 change the location in physical memory where the actual string is held?

I read something about newer versions of VFP being optimized for the special case:
MyString = MyString + ExtraText
I am not sure from what version on this applies.

I would guess that means that when appending text, the variable is not copied (if it fits?).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform