Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object vs. array?
Message
De
25/08/2009 09:48:35
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01420180
Message ID:
01420452
Vues:
86
>Hi,
>
>I am using arrays as way to pass the information from UI to BIZ/DA objects but thinking about changing to objects (using SCATTER/GATHER). In terms of memory use, do objects require more memory?

Why not try it the ".NET" way?

CursorToXML() and XMLToCursor() can blast a cursor or table to a file or memvar (i.e. string) and back again in no time; e.g.
m.foo = ""
use MyDbf
CursorToXML("MyDbf", "m.foo", 3)
XMLToCursor(m.foo, "BOPlenty")
browse
Note the use of "output format option 3" (attribute centric XML) which uses around 40% less markup than element centric.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform