Visual Basic Tutorial - 15 - Nested If Statements

  Рет қаралды 108,019

thenewboston

thenewboston

Күн бұрын

Пікірлер: 29
@claudinego4353
@claudinego4353 9 жыл бұрын
I like how every video is short because the information taught became easier to digest :)
@noobfisherman1626
@noobfisherman1626 4 жыл бұрын
9 years later and only 95k views??? this should me in the 5 millions.. Good vid. Thanks. I wish I have the half of your subs..
@Blacklight6000
@Blacklight6000 13 жыл бұрын
@Masteryxx the code that generates the question "Do you have insurance" is writen outside the if statment so no matter what your answer at the first question is the program will display the second one. Just in case you haven't figure it out by now.
@TYMON399
@TYMON399 11 жыл бұрын
I have a question. Can you do If age = >16 Then?
@sheldon123ize
@sheldon123ize 12 жыл бұрын
Lol its different to JavaScript too most languages have there minor differences but i would like to get to know those differences will help you to understand better why they are done the way they are done... I LOVE Javascript but i HAVE to learn this to get a certificate :P but this guy makes it interesting :)
@daniellarosssantos8459
@daniellarosssantos8459 4 жыл бұрын
Thank you for this video! It helps a lot
@HexPlays
@HexPlays 13 жыл бұрын
i cant believe how much fun learning could be. who new lol. (coming from a 17 year old freshman haha)
@madhukamelan7014
@madhukamelan7014 6 жыл бұрын
thanks sir. you solved my big problem
@forgottencameras
@forgottencameras 4 жыл бұрын
It is throwing flags for unneeded values on both variables (= Nothing not needed); is this because of the updates done to VB since 2011 telling us it is not needed or is this just something that is no longer needed and discouraged when writing VB in these newer versions? Also this VB tutorial is better than the stuff on SkillShare and is better than college textbooks and the "...For Dummies/...For Idiots" books I've looked at.
@carstorm85
@carstorm85 13 жыл бұрын
@sociomaladaptivist error: line line 6. LikeThis expected no arguments but received 1
@serpent035
@serpent035 10 жыл бұрын
Great video's Love them...!
@Masteryxx
@Masteryxx 13 жыл бұрын
the If statement will only work if age = 16. So why when you have age = 18 the question: "Do you have insurance" will appear ?
@joshmason11
@joshmason11 12 жыл бұрын
I would like a msgbox to appear before submiting. if they press yes then go to slide 3 Dim intresponse As Integer Private Sub CommandButton1_Click() correct = 0 intresponse = MsgBox("Are you sure you want to submit?", 36, " ") If intresponse = vbYes Then If TextBox1.Text = "2^6 - 63" Then correct = correct + 1 q1 = "Correct" SlideShowWindows(1).View.GotoSlide (3) Else correct = correct + 0 q1 = "Incorrect" SlideShowWindows(1).View.GotoSlide (3) End If TextBox1.Text = "" Please reply!
@MayerHonza
@MayerHonza 12 жыл бұрын
why dont we use if Age = 16 And hasInsurance = true Than Console.Writeline("blahblah") else console.writeline("blahblah") end If ?
@AhiungLim
@AhiungLim 10 жыл бұрын
yeah, i only added ">" symbol to fix that logic.
@HikikomoriDev
@HikikomoriDev 11 жыл бұрын
2 people got pulled over....
@Shaiya1Noob
@Shaiya1Noob 11 жыл бұрын
ty vm
@TheDesius
@TheDesius 11 жыл бұрын
This is the same right? If age = 16 and insurance = true then
@TheSatyrical
@TheSatyrical 12 жыл бұрын
He doesn't use "And" because what if you are 16 but don't have insurance? You wouldn't be able to say something along the lines of, "You can drive but be safe without insurance." Well, you could, but using nested if statements is much easier.
@RalphNgOfficial
@RalphNgOfficial 11 жыл бұрын
good video
@joshmason11
@joshmason11 12 жыл бұрын
My previous comment was supposed to be spaced out, sorry if it's a bit hard to read:/
@LightCodeDemonH
@LightCodeDemonH 11 жыл бұрын
( and ) required = ("derp") Console.ExplodeViolently is not a valid expression.
@TheVerbalAxiom
@TheVerbalAxiom 12 жыл бұрын
Dude always forgets the "Console.ReadLine" Lol
@salomonmartinez3874
@salomonmartinez3874 10 жыл бұрын
yeyeyeye thank you
@xXSellizeXx
@xXSellizeXx 12 жыл бұрын
Programming without { and } is so weird. :(
@RahilWazirAli
@RahilWazirAli 12 жыл бұрын
age => 18+ :)
@TYMON399
@TYMON399 11 жыл бұрын
Ops...sry didn't watch till the end :L
Visual Basic Tutorial - 16 - Conditional Operators
7:34
thenewboston
Рет қаралды 92 М.
Visual Basic.NET Programming. Beginner Lesson 9. Selection with If Statements
10:09
Computer Science Lessons
Рет қаралды 34 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
C++ Nested IF ELSE and  IF ELSEIF | CPP Programming Video Tutorial
5:31
Nested If else in vb.net
5:56
Shaily Langhnoja
Рет қаралды 1,3 М.
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 605 М.
Visual Basic Tutorial - 17 - Logical Operators
6:32
thenewboston
Рет қаралды 93 М.
Visual Basic 2010 Tutorial 5 - Nested If Statements
8:01
Sam McAnelly
Рет қаралды 9 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 794 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН