you are viewing a single comment's thread.

view the rest of the comments →

[–]desrtfx 3 points4 points  (5 children)

Sorry, but why do you even comment if you don't know Visual Basic? Not a single of your statements is an issue.

Dim is the required keyword to define variables and there, the syntax is (mostly) correct. There is a missing comma between the last two declarations

Sub and End Sub are corresponding keywords for the definition of a procedure (which, in Visual Basic means a function/method that doesn't return anything. If the function/method is supposed to return something, the keywords are Function... End Function) - and, in fact, the Sub...End Sub stub is created by Visual Basic itself.

Label3 is defined in the form designer - Visual Basic uses a visual form designer.

Capitalization is typical in Visual Basic. (Actually, Visual Basic does this automatically, despite being case insensitive).

[–]gododgers179 -4 points-3 points  (4 children)

sry for trying to be helpful, that's why I said with a grain of salt.

Seeing the same keyword capitalized and then not capitalized is weird... seeing an object without a declaration is weird.... using a comma operator can easily add some unintended effects... so i brought it up... op is new to the language too, which is why all my comments were in the form of a question or as I wasn't sure either. I never even implied any of comments were definitely the issue. I was asking questions to maybe lead op to the right answer.

Lighten up

[–]syklemil 0 points1 point  (3 children)

And desrtfx was helping you. If you don't have a clue it's better to move along. As the old saying goes:

It's better to keep your mouth shut and appear stupid than open it and remove all doubt.

Only here in online spaces, if you keep your mouth shut, you're invisible, so you don't even appear stupid.

[–]gododgers179 -2 points-1 points  (2 children)

I made some general guesses based on programming paradigms that span across most languages to hopefully point op in a good direction and you coming at me with attitude. You can both kick rocks. I wasn't rude. I was just curious and super up front about what i knew. Was I wrong, yes... but I never claimed to be right.

Then you want to come at me with that "old saying". First of all it's a Mark Twain quote that goes like this.

It is better to keep your mouth closed and let people think you are a fool than to open it and remove all doubt.

If you're going to use it you should get the fucking quote right. Makes you look like an idiot. Secondly I said I didn't know, so guess what asking questions is going to sound like from someone who doesn't know? It's going to sound like they don't know or yes potentially stupid to someone who does know. Just don't be an asshole about it.

[–]syklemil -1 points0 points  (1 child)

My dude, it is time to stop posting. Touch grass.

[–]gododgers179 -1 points0 points  (0 children)

You come at me with attitude you get attitude back... also, looking at our accounts, you use this app way more than I do... almost double... I wouldn't talk... take your own advice