Search found 2 matches

by Tontoinjun
Fri Nov 11, 2016 8:04 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Subs, functions, indexing arrays
Replies: 2
Views: 8524

Re: Subs, functions, indexing arrays

Thank you! That solved the problem that I have racked my brain over. What a relief. Thanks again.
by Tontoinjun
Mon Oct 31, 2016 7:26 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Subs, functions, indexing arrays
Replies: 2
Views: 8524

Subs, functions, indexing arrays

I have been trying to write a sub or function that will return the index number of a 1 dim array of strings when a string I is submitted and a match is found. The problem is submitting a string and returning an integer. Input " name"; name For I = 1 to 32 If name = namearray(I) Then index ...