Well I am going to post another question, I don't know how to do that. I looked around and got this:
Happy Computing
Charlie
So you read a thread
For new(er) members: How to post a question/issue.
It just tells you what you could/should do when you ask the question.
I have used this forum for a very long time and have never read that thread. I was just asking question.
The way you ask the question depends what the question/problem is. Think, what you would expect to see if someone asked you a question about the problem/issue they have. What information you would need to answer the question.
If you just have just a question do what #3 in that thread was.
If you have a problem/error with your code/application or something doesn't work as you would like to then do what #1 and #3.
What code tags are? When you post a question or reply to a question you can see at the top a toolbar. The first one looks like that "</>". And when you hover a mouse over this you see a text "Code". That's how to use code tags - which makes it easier to view the code.
To answer your question, you do exactly as you did in VB6.
And the answer is using code tags - you can see the difference the way it looks when you compare with you post.
Sub SomeFunction(Arg1 as Type1, Arg2 as Type2, ....) as ReturnType
If SomeCondition Then
Return Answer1
End if
If SomeOtherCondition Then
Return Anwer2
End if
Return Answer 3
Sub End
Of course you could use "Else If SomeOtherCondition" in the second condition check
#8. Read the tutorials and manuals - or you coulde have tried your code, and you would see if it works or not. That would save you time as well.
You can try a search as in #4, and if you don't find an answer you post the question. There is a chance that someone had the same issue so searching will give you an answer faster. I know it is not easy to find it using the search, but it depends what the problem was.
#11 Always start a new thread for your question. - I could never agree with this one. But this is Erel's forum so you have to (try) to follow the rules.
Just relax.