Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory objects saved into cursors
Message
From
19/02/2019 09:01:27
 
 
To
19/02/2019 03:40:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01666501
Message ID:
01666538
Views:
44
>Hi Rick,
>
>In https://github.com/FoxInCloud/FoxInCloud-AB, abOOP.prg, you have:
>
>- cXMLofObject(): XML definition of an object, including class and classlib; only property values different from class are stored
>- objectOfXML(): recreates or populate an existing instance of the object from XML
>
>supports nested objects, collections and array properties among others.
>
>Because of dependencies, you need the whole AB layer; to load the package, just
do AB
at program startup
>
>As we use an object-oriented naming (eg. cXMLofObject() instead of objectToXML()), it should not conflict with your naming.

Hi Thierry,

Nice code. I'll keep it in mind when I have a need closer to this ability to save and reinstantiate objects over time. My goals today are referring to references to existing objects through cursors while the original object references are still in existence.
Previous
Reply
Map
View

Click here to load this message in the networking platform