David,
Tks for the tip.
>Allan,
>
>You can easily create a Dump() or Serialize() method to the class that is used for these sorts of "parameter" objects. This will allow you to still keep this nice encapsulation, and let the object be smart enough to know how to output itself into your error log.
>
>>Currently one of our applications uses public variables assigned in our main.prg to contain values such as company name, user name, etc.
>>
>>We are considering retrofitting this application to use a custom class with properties containing the same information.
>>The code is something like:
>>public ogv
>>ogv=createobject("GlobalVariables")
>>ogv.cCompanyName = "Test Company"