Is there a way to put theĀ variables (string or number type) in an array, in Nextion code? I know that "officially" it's impossible to have va[0],va[1]...va[n] instead of va0, va1...van, but i wonder if there is a trick to manage variables as an array of variables .
1 Comment
g
giovanni chiesa
said
almost 2 years ago
FOUND!!!! I reply myself: p[0].b[1].txt="hello"
where p[0] is the page p0 having id=0 and b[0]is a button (b0) with id =1
giovanni chiesa
Is there a way to put theĀ variables (string or number type) in an array, in Nextion code?
I know that "officially" it's impossible to have va[0],va[1]...va[n] instead of va0, va1...van,
but i wonder if there is a trick to manage variables as an array of variables .