QBasic Tutorial 8 - Select Case Statements - QB64

  Рет қаралды 58,868

SchoolFreeware

SchoolFreeware

Күн бұрын

Пікірлер: 32
@anushka9994
@anushka9994 3 жыл бұрын
Helped such a Computer theory hater to get it perfectly inside my head 😃 Thank you School Freeware
@SchoolFreeware
@SchoolFreeware 12 жыл бұрын
a$ is a string. 5 is an integer. This causes a type mismatch. Change a$ to an integer a% and remove " " from the numbers to make them an integer also.
@oboplays3413
@oboplays3413 7 жыл бұрын
Thanks i was wonedering
@ulle85
@ulle85 11 ай бұрын
are all compiled .exe files from qb64 compatible with native MS-DOS 6.22?
@TheJuicyjay7
@TheJuicyjay7 11 жыл бұрын
your videos have helped me so much in high school thank you !!
@meharkch
@meharkch 4 жыл бұрын
True
@theirradiatedgamer1280
@theirradiatedgamer1280 8 жыл бұрын
How would you prevent the user from putting in a different number.
@urmilasuthar5053
@urmilasuthar5053 3 жыл бұрын
Do qbasic have break and continue statements
@bedrock138
@bedrock138 2 жыл бұрын
Really Helped me
@astrosonuhiggs835
@astrosonuhiggs835 11 жыл бұрын
yeah! here is another example. is this right. cls input "enter the marks of the student"; M% select case m% case is > = 85 print "a grade" case is >=60 print "b grade" case is >=50 print "c grade' case else print "d grade" end select end
@emperoraltonia
@emperoraltonia 6 жыл бұрын
Good! I made some improvements in it, see how is it! CLS INPUT "Enter The Marks of The Student"; M SELECT CASE M CASE IS >= 85 PRINT "Good! It's A" CASE IS >= 60 PRINT "Not Bad, But it can be better if you work on it!" CASE IS >= 50 PRINT "Meh, Your parents won't be happy" CASE IS >= 40 PRINT "Dude, really bad!" CASE IS >= 20 PRINT "DONUT" END SELECT END
@Herbarius
@Herbarius 13 жыл бұрын
This would have been a good opportunity to also introduce the INPUT$ function... Also I don't get how your grades work, shouldn't a test-score of 50 be a D- and 49 and less be Fail? ;)
@LondonWalkability
@LondonWalkability 13 жыл бұрын
can you show us how to do loops? and if its looped how to put in an exit?
@anirudhshetty9517
@anirudhshetty9517 2 жыл бұрын
what is the meaning of print between the statements
@evatzug
@evatzug 2 жыл бұрын
It's for a newline
@zamwam8005
@zamwam8005 10 жыл бұрын
i understand using case select but i see no purpose for using it when there's if and then statements
@canalmaidebao-5197
@canalmaidebao-5197 6 жыл бұрын
Zam Wam this saves time If you are making a menu for example
@BoberBoomMan
@BoberBoomMan 3 жыл бұрын
@Tera Oh i get it, so its there so you don't pull a yandredev on your code
@er0rx
@er0rx 12 жыл бұрын
Okay thanks for help.
@scienceeducationalvideo3064
@scienceeducationalvideo3064 4 жыл бұрын
I am of 12 but I am understanding your video
@rbjaiswal8575
@rbjaiswal8575 4 жыл бұрын
I can't understand ucaae$ please help me
@SchoolFreeware
@SchoolFreeware 4 жыл бұрын
Ucase$ is a function that converts strings to uppercase. By converting the case, and using that case in the program, we remove the case sensitivity of the program. This way "a" is the same as "A".
@rbjaiswal8575
@rbjaiswal8575 4 жыл бұрын
@@SchoolFreeware thanks sir , now I got it .
@randomzz7353
@randomzz7353 8 жыл бұрын
display following pattern A E A C P E A C E PLZ IN 5 MINS
@er0rx
@er0rx 12 жыл бұрын
Why do i get type mismatch, sorry it's in my language. CLS INPUT "Upisi ocjenu "; a$ SELECT CASE a$ CASE IS >= 5 PRINT "Odlican" CASE "4" PRINT "Vrlo dobar" CASE "3" PRINT "Dobar" CASE "2" PRINT "Onako" CASE "1" PRINT "Los" CASE ELSE PRINT "Ne zajebaji ako hoces da znas ocjenu" END SELECT
@DzoniMakaroni
@DzoniMakaroni 8 жыл бұрын
Nemas pojma bogami.
@chiazamdim7841
@chiazamdim7841 7 жыл бұрын
why do you add PRINT PRINT
@SchoolFreeware
@SchoolFreeware 7 жыл бұрын
A PRINT is like making a new line (Hitting the Enter Key). PRINT PRINT is like hitting the Enter Key twice.
@rachitsardana7292
@rachitsardana7292 6 жыл бұрын
it is done for seperation of lines
@evatzug
@evatzug 2 жыл бұрын
2:03 Why just not : ------------------------------------------------------ DIM keyPressed AS STRING INPUT "Enter a key : ", keyPressed PRINT keyPressed; " was entered" ------------------------------------------------------ ?
@LQQ.ERR0R
@LQQ.ERR0R 6 ай бұрын
Ayy
QBasic Tutorial 9 - While Loop - QB64
3:03
SchoolFreeware
Рет қаралды 56 М.
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 23 МЛН
Friends make memories together part 2  | Trà Đặng #short #bestfriend #bff #tiktok
00:18
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 13 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 29 МЛН
why are switch statements so HECKIN fast?
11:03
Low Level
Рет қаралды 423 М.
QBasic Tutorial 7 - IF Statements - QB64
4:22
SchoolFreeware
Рет қаралды 92 М.
Input Statement in QBASIC | Programs using QBASIC
21:20
High School Computer Studies
Рет қаралды 13 М.
Assembly language and machine code - Gary explains!
8:21
Android Authority
Рет қаралды 435 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 74 М.
Something Strange Happens When You Take This To Its Logical Conclusion
32:44
QBasic Tutorial 12 - Simple Calculator With Input Validation - QB64
6:55
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 23 МЛН