Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1757

Parsing an array variable to an array does not work

$
0
0
I have array m filled with many rows in 2 columns. I want to compare a string with the content of each row in the first column. That works without any problem. I build a DO-loop to increment the row number and inside the loop I compare the string with the content of the first column in each row:
(%r = row number)
(%m = array m)

DO r = 0 TO %@DEC[%@arrayinfo[m,1]] BY 1 IFF %@WILD["%string%",*%m[%r%,0]*] == 1 THEN ECHO Found ELSE Echo Not found ENDIFF ENDDO

This DO-loop works...

Read more

Viewing all articles
Browse latest Browse all 1757

Trending Articles