Hi
How can we visually check the contents of an array please?
Is it possible to use DRAWTEXT to loop through the array and output the values by using the using the # functionality?
DRAWTEXT(“#$array[i]#",Barindex,0)Or something similar?
I’m creating arrays but have no idea if they are correct 🙁
Many thanks
Rob
You need to go through an intermediate variable, let’s name it “a”, and write a=$array[i] just before your drawtext line, then use #a# inside the drawtext line, see example from Nicolas on page 2 of the array topic, lines 30-33 of the code in his post #120663 page 2: https://www.prorealcode.com/topic/array-variables-availability-in-prorealtime/page/2/#post-120663
Thanks Noobywan, I missed that when I went through the examples. That’s a great help. Thank you.