>When I use scatter name test, vfp creates and object which properties are the fields of the table opened in the current work area.
>How do I create an object like this from scratch? And how do I add properties in this new object?
You would utilize Empty object and ADDPROPEERTY() function
loObject = CREATEOBJECT("Empty")
ADDPROPEERTY(loObject, "cPropertyString", "Property value")
...
--sb--