QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Pete on September 18, 2020, 10:37:46 pm
-
I'm starting a tutorial series, can't let Terry have all the fun, but I think something went wrong with the latest development version of QB64. I cannot get the code, for my very first tutorial, to display to the screen.
PRINT "This first tutorial will cover how to begin your program."
PRINT "The first thing a coder must consider is starting with a clear screen."
PRINT "Fortunately, QBasic and QB64 make that job very easy to do."
PRINT "So for our first lesson, we will all learn to clear the screen."
PRINT "Go to your QBasic, or QB64 IDE, type and run the command": CLS
-
I'm starting a tutorial series, can't let Terry have all the fun, but I think something went wrong with the latest development version of QB64. I cannot get the code, for my very first tutorial, to display to the screen.
PRINT "This first tutorial will cover how to begin your program."
PRINT "The first thing a coder must consider is starting with a clear screen."
PRINT "Fortunately, QBasic and QB64 make that job very easy to do."
PRINT "So for our first lesson, we will all learn to clear the screen."
PRINT "Go to your QBasic, or QB64 IDE, type and run the command": CLS
Everyone should get a good night's SLEEP before starting fresh ;-))
SmallBASIC actually had this problem and you didn't even need the CLS. It'd flash "Hello World" and jump right back into the editor. It'd do it so fast you'd think it was broken.
-
Or check with a proctologist. It seems you have a colon problem.
-
Or check with a proctologist. It seems you have a colon problem.
I don't cover the proper use of colons until tutorial #2... That said, #2 won't be possible, unless the whole development team can figure out why my first tutorial won't display in the first place!
-
I don't cover the proper use of colons until tutorial #2... That said, #2 won't be possible, unless the whole development team can figure out why my first tutorial won't display in the first place!
It’s the colon...
PRINT "Go to your QBasic, or QB64 IDE, type and run the command":CLS
Notice the quote ends on the left? You’re shoving two commands onto the same line.
PRINT “foo”: CLS
The program *is* printing to the screen, and displaying. You’re just instantly clearing the screen afterwards....
-
It’s the colon...
PRINT "Go to your QBasic, or QB64 IDE, type and run the command":CLS
Notice the quote ends on the left? You’re shoving two commands onto the same line.
PRINT “foo”: CLS
The program *is* printing to the screen, and displaying. You’re just instantly clearing the screen afterwards....
OK if you aren't amused by Pete's joke, the colon is fine just move the last double quote to the end of the line.
TO
PRINT "This first tutorial will cover how to begin your program." PRINT "The first thing a coder must consider is starting with a clear screen." PRINT "Fortunately, QBasic and QB64 make that job very easy to do." PRINT "So for our first lesson, we will all learn to clear the screen." PRINT "Go to your QBasic, or QB64 IDE, type and run the command: CLS"
At first I was thinking:
PRINT "Go to your QBasic, or QB64 IDE, type and run the commands":
SLEEP:
CLS
-
Say, why does it take a whole development team to move a double quote?
Maybe a colon but not a double quote.
-
OK if you if you aren't amused by Pete's joke, the colon is fine just move the last double quote to the end of the line.
TO
PRINT "This first tutorial will cover how to begin your program." PRINT "The first thing a coder must consider is starting with a clear screen." PRINT "Fortunately, QBasic and QB64 make that job very easy to do." PRINT "So for our first lesson, we will all learn to clear the screen." PRINT "Go to your QBasic, or QB64 IDE, type and run the command: CLS"
At first I was thinking:
PRINT "Go to your QBasic, or QB64 IDE, type and run the commands":
SLEEP:
CLS
I'm glad Mark got it was a joke, but I'm a bit sad Mark didn't get Steve's joke, which was... Pete REALLY is that stupid! Well, like the old saying goes... If you can't laugh at yourself, somebody else will. Anyway, yeah, just messing with you guys, which is my way of saying I'm back and enjoying coding again. That was a long drought.
Good question: How many developers does it take to move a colon?
Pete
-
Good question: How many developers does it take to move a colon?
Pete
I don’t know about developers, but I know as an author, it takes two proof-readers, three editors, a year’s Grammerly subscription, four publisher rejections, and one Patron subscriber who donates $0.02 to get the change made...
-
I don’t know about developers, but I know as an author, it takes two proof-readers, three editors, a year’s Grammerly subscription, four publisher rejections, and one Patron subscriber who donates $0.02 to get the change made...
You forgot... One wise-ASCII QBF Spelling Police Captain to point out it's: Grammarly, not Grammerly.
I'm glad to see you're putting in your 2-cents as a Patron. Mine's not worth a nickel, either. I turned on a dime once... but it was minted in 2004, so I walked away.
Pete
-
@bplus lol "take a SLEEP" before clear the screen....
-
@Steve lol "how many developers are necessary ti move a COLON" ...
-
@Pete
Welcome Back
I think that you need two generic surgeons, 4 surgical nurses, 2 patients ( if you trans-plant the Colon, only One of you re-move the Colon), One operating room and One anesthetist...
Too expensive, better change the algorythm
-
I'm a chiropractor. We just adjust L5 for that!
Pete :D
-
@Pete
I was suspecting you were homeopath and you should use Nux Vomica 30CH for colon,
or you have an Osteopathy degree and you should massage and stretching the muscles and the tendineous fascis of the lombare spine,
or you have an Applied Kinesiology degree and you uses meridians' points of acupunture to restore inner equilibrium (see A touch for health) after the muscle's test or the nutrient test to get what area of the mind-soul-body was interested,
but with chiropractic you shoud do a Xray to the whole spine before to start to treat the issue... and L1 is for :, not L5...
:P
-
@Pete
I was suspecting you were homeopath and you should use Nux Vomica 30CH for colon,
or you have an Osteopathy degree and you should massage and stretching the muscles and the tendineous fascis of the lombare spine,
or you have an Applied Kinesiology degree and you uses meridians' points of acupunture to restore inner equilibrium (see A touch for health) after the muscle's test or the nutrient test to get what area of the mind-soul-body was interested,
but with chiropractic you shoud do a Xray to the whole spine before to start to treat the issue... and L1 is for :, not L5...
:P
Okay... Now you’re just making up big words to sound important....
-
No I retreat my affirmations...
sorry!
Pete talks of chiropractic and he spins my brain to think to Complementary and Alternative Medicines.
Off topic ! :-(
-
Well sure, if you're talking about the sympathetic system, but for the parasympathetic system, L5 is about as close as you're going to get for the lower colon, as the sacral nerves S2-S4 are involved in the portion of the descending colon, past the splenic flexure. Above the splenic flexure, you need to go up to a C1-C2 level, to try and affect the Vegas nerve. Also, as a Gonstead enthusiast, it is good practice to identify the lowest subluxation and establish a correction to relieve pressure, caused by lower spinal misalignment.
Pete
-
@Pete
Thanks for professional answer!
Postcriptum:
S2-S4 + C1-C2 for a moment I have understood the craniosacral therapy! https://www.craniosacrale.it/wp-content/uploads/2015/06/bilanciamento.jpg (https://www.craniosacrale.it/wp-content/uploads/2015/06/bilanciamento.jpg)
However do you like stimulating the colon in the place of slowing its activity choosing the parasympathetic vs sympathetic, I can see these here https://scontent.ffco3-1.fna.fbcdn.net/v/t31.0-8/330599_289705127731198_1212361154_o.jpg?_nc_cat=101&_nc_sid=9267fe&_nc_ohc=z0SRzKTmaW8AX9FmxU-&_nc_ht=scontent.ffco3-1.fna&oh=039fbcab9977adefce0ea2cb999ad269&oe=5F8D58C0 (https://scontent.ffco3-1.fna.fbcdn.net/v/t31.0-8/330599_289705127731198_1212361154_o.jpg?_nc_cat=101&_nc_sid=9267fe&_nc_ohc=z0SRzKTmaW8AX9FmxU-&_nc_ht=scontent.ffco3-1.fna&oh=039fbcab9977adefce0ea2cb999ad269&oe=5F8D58C0) . Maybe that you find so many stithic issues as prevalent posture effect!
A friend has given me a book : The second brain. It talks about the axis brain-gut.
Well as personal treatment can you say me what nerve I must treat for my insane moving tongue! The bill in private please.
-
I'm starting a tutorial series, can't let Terry have all the fun, but I think something went wrong with the latest development version of QB64. I cannot get the code, for my very first tutorial, to display to the screen.
PRINT "This first tutorial will cover how to begin your program."
PRINT "The first thing a coder must consider is starting with a clear screen."
PRINT "Fortunately, QBasic and QB64 make that job very easy to do."
PRINT "So for our first lesson, we will all learn to clear the screen."
PRINT "Go to your QBasic, or QB64 IDE, type and run the command": CLS
It's a known issue, we'll be working on it. Thanks for reporting, Pete.
-
Fell, if "Dry humor" is going to be entered into this thread, don't you think you should have consulted Luke, first?
Pete :D
-
Decided to try my hand at it, how did I do?
-
Not bad, not bad at all, for a newbie... but when Luke throws down, well, the dryness is to such an extreme degree it's like being in the Feb 23, 1968 episode of Star Trek, where most the crew were turned into small weightless tetrahedron-like blocks.
Pete