The reason why presents the line of code like this: (username = "Sam" or username = "Tim") is because he wants everything in the parentheses evaluated before evaluating the And that comes after. If he leaves the parentheses out then the order of operations would take control over which parts of the code gets evaluated first. I hope that helps
I made a simple calculator, it asks you if you want to multiply, substract, divide or add and then takes two numbers. It works with decimals because I used doubles :)
Love the tutorials. Btw you said neer the end that if the username was Sam or joe it would let you in but you ment to say Sam or Tim... I would add a annotion saying that If youHaveTime = True lol!
What is the difference between the assignment operator ( = ) and the logical operator equal ( == ) ? Is it equal by means in Visual Basic. Hope you get to reply me. Thanks Sam!
what is the point in changing the string statements into a boolean with the open/close brackets? Ex: If username = “name” Or username = “name” string statement Ex: If (username = “name” Or username = “name”) changes it into a boolean statement. I tried both ways and it still works? please get back to me so i can understand
Could anyone help me out, I get all the video apart from when he places bracket/parentheses around username = "Sam" or username = "Tim" could someone please explain why he has done that. Thanks in advanced to anyone that helps. :)
Great tutorial. Simple enough for beginners to follow!
These tuts are great! I'm gonna attempt C++ after this, or maybe C#
The reason why presents the line of code like this: (username = "Sam" or username = "Tim") is because he wants everything in the parentheses evaluated before evaluating the And that comes after. If he leaves the parentheses out then the order of operations would take control over which parts of the code gets evaluated first.
I hope that helps
very interesting tutorials!
thanks for these nice tuts :)
I made a simple calculator, it asks you if you want to multiply, substract, divide or add and then takes two numbers. It works with decimals because I used doubles :)
i wrote the If statement without the Brackets and it worked just fine
Who's here in 2022??
Ok thankyou for replying, but what do you mean by evaluating?sorry and thanks again for the reply :D
Hello, where can I find some exercises to practice all of this ?
Love the tutorials. Btw you said neer the end that if the username was Sam or joe it would let you in but you ment to say Sam or Tim... I would add a annotion saying that If youHaveTime = True
lol!
This was very helpful!!!!
which syntax coresponde to the case sensitivity
Good for you!
Question: When are we going to the form stuff?
What is the difference between the assignment operator ( = ) and the logical operator equal ( == ) ? Is it equal by means in Visual Basic.
Hope you get to reply me. Thanks Sam!
== = =
Kondad is that you do the dab
Great video,thanks :)))
Evaluating means to decide whether not the expressions in the parentheses are true.
why do you need to set the variables as nothing?
what is the point in changing the string statements into a boolean with the open/close brackets? Ex: If username = “name” Or username = “name” string statement
Ex: If (username = “name” Or username = “name”) changes it into a boolean statement. I tried both ways and it still works? please get back to me so i can understand
Visual basic doesn't have "Not" Logical operator?
@lub094 Ep 36 But i recommend watching all of them because everything before Ep 36 is basic stuff that is used in almost every GOOD program.
is there a difference between "or" and "Or" in visual basic?
THANKS!
is visual basic case sensitive?
What about Windows Application Forms tut series? Ha?
Could anyone help me out, I get all the video apart from when he places bracket/parentheses around username = "Sam" or username = "Tim" could someone please explain why he has done that. Thanks in advanced to anyone that helps. :)
dude i nailed this on the F***ing head
is this vb7
Man this is so boring, why did they change all syntax? couldnt it be more like java,c or c++ :'(
iKaVaPerv Visual Basic is based on Quick Basic which was released 30 years ago. It's more that they didn't change the syntax.
im good at vb
no
@Pyware50 hur
stop spamming these tuts!
@lub094 Answer: Complete the tutorial and go make a real program.