I seem to be unable to arrayDecode an array containing more than two "levels"
Code: Select all
put "one" into arrayBibliografia[1]
put "foo" into arrayBibliografia[1]["one"]
put "two" into arrayBibliografia[2]
put "three" into arrayBibliografia[3]
put "binfile:test" into nfile
open file nfile for write
get the result
if the result <> "" then errorFin "error al crear un archivo " & it. --it's ok up to this point, Daniel
write arrayEncode(arrayBibliografia,"7.1") to file nfile
close file nfile
get the result
if the result <> "" then errorFin "error al crear un archivo " & it
open file nfile
read from file nfile until eof
close file nfile
put arrayDecode(it) into arrayResult
The problem is worst if the array contains unicode chars. In that case the result can be erratic (as in the example above) of the arrayDecode function may not work at all