Announcement

Collapse
No announcement yet.

Question for STUART MCLACHLAN

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question for STUART MCLACHLAN

    Hey Stuart very good. See your post in ARRAY SCAN QUESTION

    The way I have this 2 dimensional array in my mind is like this. Your rownum represents records in say a database file and the colnum represents the columns. So lets say you load all the records into an array then you want to search a certain COLUMN for a "string variable" but you DON'T KNOW WHAT rownum it is in. Using your example where strSearch = s(2,colnum), what if you don't know the rownum then how can I use your program to find my desired string.

  • #2
    The "strSearch = s(2,colnum)" was just test code. It was a way to get a string that we knew was in the column at a certain location so that we could confirm the code was working correctly..

    strSearch can be anything you want.

    Try replacing "2" with RANDOM(3,10) in that line.



    Comment

    Working...
    X