0

Ok, I've combed the entire internet and can't find anything to help me here; I can't figure out the syntax for searching an array of stored words for a string matching an input string.

I understand the pseudocode of it, but I'm tripping up over what variables I need to put where, and how they should be formatted. If anyone here can help, it'd be greatly appreciated.

More than happy to provide more details should anyone request them.

Pseudocode;

Found = False

Loop through all the elements of the array

If current element = input, 

Then found = True

End of loop
2
  • Please use at least a programming language tag for your question. I've added vba for you, I assume that's correct for Visual Basic. Commented Jan 20, 2012 at 19:48
  • It says 'Visual Basic' in the title, but fair enough. Thanks. Commented Jan 20, 2012 at 19:51

1 Answer 1

1

This is from the internet you've searched : http://msdn.microsoft.com/en-us/library/eefw3xsy(v=vs.80).aspx
And this is for vb6 : http://www.vb6.us/tutorials/searching-arrays-visual-basic-6

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.