QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: Pete on September 18, 2020, 10:37:46 pm

Title: Need help from the whole QB64 development team...
Post 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

Title: Re: Need help from the whole QB64 development team...
Post by: bplus on September 18, 2020, 11:12:12 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



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.
Title: Re: Need help from the whole QB64 development team...
Post by: SMcNeill on September 19, 2020, 12:48:19 am
Or check with a proctologist.  It seems you have a colon problem.
Title: Re: Need help from the whole QB64 development team...
Post by: Pete on September 19, 2020, 01:35:06 am
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!
Title: Re: Need help from the whole QB64 development team...
Post by: SMcNeill on September 19, 2020, 02:17:54 am
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....
Title: Re: Need help from the whole QB64 development team...
Post by: bplus on September 19, 2020, 09:47:05 am
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
Code: QB64: [Select]
  1. PRINT "This first tutorial will cover how to begin your program."
  2. PRINT "The first thing a coder must consider is starting with a clear screen."
  3. PRINT "Fortunately, QBasic and QB64 make that job very easy to do."
  4. PRINT "So for our first lesson, we will all learn to clear the screen."
  5. PRINT "Go to your QBasic, or QB64 IDE, type and run the command: CLS"
  6.  

At first I was thinking:
Code: QB64: [Select]
  1. PRINT "Go to your QBasic, or QB64 IDE, type and run the commands": SLEEP: CLS

Title: Re: Need help from the whole QB64 development team...
Post by: bplus on September 19, 2020, 10:11:46 am
Say, why does it take a whole development team to move a double quote?

Maybe a colon but not a double quote.
Title: Re: Need help from the whole QB64 development team...
Post by: Pete on September 19, 2020, 12:03:01 pm
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
Code: QB64: [Select]
  1. PRINT "This first tutorial will cover how to begin your program."
  2. PRINT "The first thing a coder must consider is starting with a clear screen."
  3. PRINT "Fortunately, QBasic and QB64 make that job very easy to do."
  4. PRINT "So for our first lesson, we will all learn to clear the screen."
  5. PRINT "Go to your QBasic, or QB64 IDE, type and run the command: CLS"
  6.  

At first I was thinking:
Code: QB64: [Select]
  1. 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
Title: Re: Need help from the whole QB64 development team...
Post by: SMcNeill on September 19, 2020, 01:22:42 pm
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...
Title: Re: Need help from the whole QB64 development team...
Post by: Pete on September 19, 2020, 01:52:58 pm
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
Title: Re: Need help from the whole QB64 development team...
Post by: TempodiBasic on September 20, 2020, 06:57:48 am
@bplus lol "take a SLEEP" before clear the screen....
Title: Re: Need help from the whole QB64 development team...
Post by: TempodiBasic on September 20, 2020, 06:59:41 am
@Steve lol "how many developers are necessary ti move a COLON" ...
Title: Re: Need help from the whole QB64 development team...
Post by: TempodiBasic on September 20, 2020, 07:22:51 am
@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
Title: Re: Need help from the whole QB64 development team...
Post by: Pete on September 21, 2020, 01:11:04 pm
I'm a chiropractor. We just adjust L5 for that!

Pete :D
Title: Re: Need help from the whole QB64 development team...
Post by: TempodiBasic on September 21, 2020, 05:33:22 pm
@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
Title: Re: Need help from the whole QB64 development team...
Post by: SMcNeill on September 21, 2020, 05:44:12 pm
@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....
Title: Re: Need help from the whole QB64 development team...
Post by: TempodiBasic on September 21, 2020, 05:56:40 pm
No I retreat my affirmations...
sorry!
Pete talks of chiropractic and he spins my brain to think to Complementary and Alternative Medicines.
Off topic ! :-(
Title: Re: Need help from the whole QB64 development team...
Post by: Pete on September 21, 2020, 06:04:56 pm
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
Title: Re: Need help from the whole QB64 development team...
Post by: TempodiBasic on September 21, 2020, 07:10:52 pm
@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.
Title: Re: Need help from the whole QB64 development team...
Post by: FellippeHeitor on September 22, 2020, 08:07:33 am
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.
Title: Re: Need help from the whole QB64 development team...
Post by: Pete on September 22, 2020, 11:10:21 am
Fell, if "Dry humor" is going to be entered into this thread, don't you think you should have consulted Luke, first?

Pete :D
Title: Re: Need help from the whole QB64 development team...
Post by: FellippeHeitor on September 22, 2020, 12:53:44 pm
Decided to try my hand at it, how did I do?
Title: Re: Need help from the whole QB64 development team...
Post by: Pete on September 22, 2020, 01:06:05 pm
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