Author Topic: QB64 Repo (Development Branch) Updated  (Read 3892 times)

0 Members and 1 Guest are viewing this topic.

Offline Petr

  • Forum Resident
  • Posts: 1720
  • The best code is the DNA of the hops.
    • View Profile
Re: QB64 Repo (Development Branch) Updated
« Reply #15 on: August 28, 2019, 03:48:18 pm »
I only have one USB keyboard. I would like to try it from someone else with Windows 7. Best from someone who doesn't use English as their default language. I don't know why, if is  pressed Ctrl or Alt will fill the buffer you are reading from and then it works. Why isn't it direct? What exclusive character does Ctrl or Alt have? Isn't that again some C thing with his favorite CHR$ (0)? 

Offline luke

  • Administrator
  • Seasoned Forum Regular
  • Posts: 324
    • View Profile
Re: QB64 Repo (Development Branch) Updated
« Reply #16 on: August 29, 2019, 07:10:47 pm »
Why do we need new functions _CONSOLEFONT etc.? It would be surely more sensible to simply use _FONT.

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: QB64 Repo (Development Branch) Updated
« Reply #17 on: August 29, 2019, 07:34:43 pm »
Why do we need new functions _CONSOLEFONT etc.? It would be surely more sensible to simply use _FONT.

I’m not entirely certain how you’d set the console font to work with _LOADFONT and _FONT.  The Windows console will only let you use compatible fonts that are already installed on your system, so there’s no use for _LOADFONT.  You’re not looking to load one from the file system into memory; just make use of the ones which windows already has available for you.

All we can really do with the console is specify which of the available fonts we want to use, the size, and the amount of boldness (which I didn’t implement).

What I’m curious about, is why we have both a _TITLE and _CONSOLETITLE command.  Couldn’t that have been toggled with just a _DEST change?
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!