jorge Posted October 1, 2003 Posted October 1, 2003 ok, how do i use a for each statement in vb.net? i'de like to do somthing evry time a string = x greets Quote Jorge - http://www.blackdot.be/?page=apache.htm
Administrators PlausiblyDamp Posted October 1, 2003 Administrators Posted October 1, 2003 You would use a for each loop to iterate over an array or collection. dim s() as string = {"one","two","three"} for each tmp as string in s Messagebox.show (tmp) next not sure what you meant by the every time a string = x statement though... Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
jorge Posted October 1, 2003 Author Posted October 1, 2003 ok thanx:D Quote Jorge - http://www.blackdot.be/?page=apache.htm
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.