Author Topic: [video tutorial] Creating console apps with QB64  (Read 3528 times)

0 Members and 1 Guest are viewing this topic.

This topic contains a post which is marked as Best Answer. Press here if you would like to see it.

FellippeHeitor

  • Guest
[video tutorial] Creating console apps with QB64
« on: April 14, 2021, 08:47:00 pm »

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: [video tutorial] Creating console apps with QB64
« Reply #1 on: April 14, 2021, 09:45:50 pm »
Cool, Fellippe!
Shuwatch!

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: [video tutorial] Creating console apps with QB64
« Reply #2 on: April 15, 2021, 12:21:06 am »
Yeah, I know I will be using console for tracking down bugs, like when I need to follow some variables in a loop by printing values. It will be nice not having the graphics scroll off screen.

Does anyone know many lines the console will scroll?

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: [video tutorial] Creating console apps with QB64
« Reply #3 on: April 15, 2021, 01:09:49 am »
Yeah, I know I will be using console for tracking down bugs, like when I need to follow some variables in a loop by printing values. It will be nice not having the graphics scroll off screen.

Does anyone know many lines the console will scroll?

With Windows, use WIDTH to custom set what you need.

WIDTH x, y, maxX, maxY
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline Dimster

  • Forum Resident
  • Posts: 500
    • View Profile
Re: [video tutorial] Creating console apps with QB64
« Reply #4 on: April 15, 2021, 08:58:24 am »
Does the Console run faster than using the QB64 graphical screen? For example render text or graphics, calculate formulas etc?

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: [video tutorial] Creating console apps with QB64
« Reply #5 on: April 15, 2021, 12:23:24 pm »
Does the Console run faster than using the QB64 graphical screen? For example render text or graphics, calculate formulas etc?

You know the console might run faster because it does not have to render graphics but it is running graphics that you need the speed. I suppose might be an advantage to number crunching or sorting? Interesting experiment. Eh, same code same CPU probably no difference in speed.

Offline OldMoses

  • Seasoned Forum Regular
  • Posts: 469
    • View Profile
Re: [video tutorial] Creating console apps with QB64
« Reply #6 on: April 15, 2021, 07:02:13 pm »
I always wondered what the console thing was about. I never quite understood the point of it. This answers a slew of questions and plants a few idea seeds as well. Thanks for doing this one, and looking forward to the next.

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: [video tutorial] Creating console apps with QB64
« Reply #7 on: April 26, 2021, 04:04:43 pm »
Cool tutorial!
Moreover your english is very clear for me.

But I must complain that this is not the right place for this optimum publication.
Is there a video tutorial section in the website?

Thanks to share information and tecniques
Programming isn't difficult, only it's  consuming time and coffee

Offline zaadstra

  • Newbie
  • Posts: 78
    • View Profile
Re: [video tutorial] Creating console apps with QB64
« Reply #8 on: April 26, 2021, 05:27:08 pm »
I always wondered what the console thing was about. I never quite understood the point of it. This answers a slew of questions and plants a few idea seeds as well. Thanks for doing this one, and looking forward to the next.

I like it as it behaves the same as the old QB 4.5 programs (copy text etc.).   Besides that, you can make nice utilities that run in CMD prompt.

Marked as best answer by on Today at 06:01:47 am

Offline OldMoses

  • Seasoned Forum Regular
  • Posts: 469
    • View Profile
Re: [video tutorial] Creating console apps with QB64
« Reply #9 on: April 26, 2021, 06:28:26 pm »
  • Undo Best Answer
  • I like it as it behaves the same as the old QB 4.5 programs (copy text etc.).   Besides that, you can make nice utilities that run in CMD prompt.

    I've already been able to swat some persistent bugs, that were slowing my code down a lot, by _ECHOing variables inside of certain iterations to the console. Then I could say, "Hey program, why are you doing THAT calculation when it's not necessary". I sometimes talk to my programs... ;)

    It's incredibly helpful to be able to watch were things are going behind the scenes. Until Fellippe did this video I was just shooting in the dark trying to figure out what was eating up processing resources.