Array help
Hello,
Just try double Array[];
Hi, Danilo
Before you scan for the array elements you should get the ArraySize(), then you limit the scan total elements in the FOR block.
int ArrayTotal = ArraySize(taxas); for(int i=0; i<=ArrayTotal; i++) { printf(taxas[i]); }
Hi, Danilo
Before you scan for the array elements you should get the ArraySize(), then you limit the scan total elements in the FOR block.
Like this?
if(id==CHARTEVENT_OBJECT_CLICK) GetPrice(taxas); int ArrayTotal = ArraySize(taxas); for(int i = 0; i < ArrayTotal; i++) { printf(taxas[i]); }
Yes, with this code you simply avoid the arrayOutOfRange error return.
Can anyone help me?