PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Deserialisation - I hate when it becomes complex
Deserialisation - I hate when it becomes complex
Iniciado por guest, 16,ago. 2017 02:11 - No hay respuesta
Publicado el 16,agosto 2017 - 02:11
greetings gang

how would you create a structure that would handle the deserialisation of the following vCalc (if it's even possible - or should I leave as variant and work with that)

vRcvdDta is Variant
vCalc is Variant = vRcvdDta.seq.children[1].children[1].boolean
vCalc[1][1].type="x"
vCalc[1][1].data="y"
vCalc[1][1].content="stuff"
vCalc[1][2] = 0
vCalc[1][3].type="z"
vCalc[1][3].data="yy"
vCalc[1][3].content="more stuff"
vCalc[1][4] = 1
vCalc[1][5].type="a"
vCalc[1][5].data="yyy"
vCalc[1][5].content="even more stuff"