;Array To String by Hex - http://hex.palaceplanet.net ;array_to_str is designed to work only with arrays that contain strings or integers, ;arrays within arrays and variables within arrays may produce odd results. array_to_str GLOBAL { temparray = "[ " { temparray ta GET temp = { { "\"" temp & "\"" & temp = } temp VARTYPE SWAP POP 4 == IF { temp ITOA temp = } temp VARTYPE SWAP POP 1 == IF } { { temp ITOA temp = } { "\"" temp & "\"" & temp = } temp DUP + temp - temp == IFELSE } IPTVERSION IFELSE temp & " " & ta ++ } { ta temparray LENGTH < } WHILE "]" & } array_to_str DEF