Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object vs. array?
Message
From
25/08/2009 09:48:35
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01420180
Message ID:
01420452
Views:
85
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform