Data as B = PROPERTY_TO_BLOB(P source[,C fields])
The name of a dot variable. Pointer
Dump pointer contents (can be variable frame) to a blob - optional limit to 'fields'.
The PROPERTY_TO_BLOB() function converts a "dot" variable to a blob variable. Fields is the dot variable's root name. The dot variable can be of arbitrary complexity. Once a dot variable has been converted to a blob, it is easy to save, in effect, saving the current values of all of the dot variable's sub-elements. The PROPERTY_FROM_BLOB()function allows you to restore a dot variable and all of its sub-elements from a string that was previously created using PROPERTY_TO_BLOB().
For example, assume that you have this "dot" variable:
dim p as P dim dat as B p.lastname = "smith" p.firstname = "john" dat = property_to_blob(p)