Page 1 of 1

AppendConfigFileElem params [097 2007-08-23 RC5 (& other

Posted: Wed Oct 03, 2007 6:22 am
by Developer Silver
In docs the function AppendConfigFileElem( filename, elemtype, elemkey, properties ); reports that fourth parameter must be an array of arrays or an array of structs...
Array of Arrays {propname,value}, or array of structs { name, value }
... while in function description and in cfgfile.em only the array of structs is mentioned...
Properties must be an array of structures, where each element is a structure containing a name member first, and a value member second.

... but in fact only the array of arrays seems to work coprrectly :?

Using an array of structs only write an empty element in .cfg file, even if function return 1.