Preface...... I think,
Max readarray would/could TRY to be 65K, (word)...... too long for any possible array to read in PIC.
So, is your check looping thru 64KB ??? (I assssume no one wants to parse flash)
example of my code
My little array is 1000, and the arrayread matched the match anywhere from begining to the end.Code:array1Test: ' arr1 has INDX chars that is < ARR1[declared legnth] Flag1=0 arrayread arr1,INDX,done,[wait("1qwe")]:Flag1=1 'found match done: 'no match
But, I was wondering if a "MATCH-TO-EXIT" compare char code, could be added. Like arraywrite, then tested on each pass, without extensive code addition.
Then it would be;
ARRAYREAD array_to_read, max_legnth, compare_char_to_exit, escape_labl[.....xyz....]
As you stated somewhere, array read & write is making string usage much more practical.
Don





Bookmarks