Author Topic: Three not so stupid beginners questions...  (Read 3246 times)

0 Members and 1 Guest are viewing this topic.

Offline HugoR

  • Newbie
  • Posts: 2
    • View Profile
Three not so stupid beginners questions...
« on: July 25, 2020, 05:15:24 am »
Hi all, thanks for taking the time to read my three not so stupid beginners questions...

1. I have QB64 64 Bits version installed on my laptop. Can I write a programm and export it in 32 Bits version, so it will run on (a separate) 32 Bits computer, running Windows XP?
2. If the question above is anwered by a negative, do I need to install the 32 Bits version of QB64 to export .exe files in 32 Bits, and will that programm run on a seperate XP computer?

3. The screens available in QB64 exe files are showing set characters maximums, e.g. 80x25 characters. The QB64 programming environment itself has a screen of about 180 characters wide and 45 rows.... I would like my programms to run in screens showing more than 80x25 characters. Is there any way to write QB64 programms, so they are executed in a window of way more than 80x25 characters???

Marked as best answer by HugoR on July 25, 2020, 04:26:02 am

FellippeHeitor

  • Guest
Re: Three not so stupid beginners questions...
« Reply #1 on: July 25, 2020, 06:50:26 am »
Hi there. Welcome aboard.

1. QB64 64bit will only produce 64bit binaries. Nothing stops you from having both the 32bit and the 64bit versions in separate folders, since QB64 is portable.

2. Yes, 32bit compiled binaries will run on XP.

3. Yes, in two ways:

SCREEN _NEWIMAGE(widthInCharacters, heightInCharacters, 0)

Or

WIDTH widthInCharacters, heightInCharacters
« Last Edit: July 25, 2020, 06:52:29 am by FellippeHeitor »

Offline HugoR

  • Newbie
  • Posts: 2
    • View Profile
Re: Three not so stupid beginners questions...
« Reply #2 on: July 25, 2020, 08:24:47 am »
Many thanks for your quick answers Fellippe. Just what I needed!!!

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: Three not so stupid beginners questions...
« Reply #3 on: July 25, 2020, 12:57:40 pm »
There are no stupid questions, only stupid answers. Oh wait, Clippy isn't here anymore.... There are no stupid questions...

I loved my Windows XP, but it expired several years ago. I used Win 98 for the very earliest versions of QB64, and when the project no longer supported Win 98, I switched to using my XP. Good luck with your projects, and feel free to post anything you need help programming. This is an amazing project for developers who love to program in BASIC in this modern age.

Welcome to the forum,

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Three not so stupid beginners questions...
« Reply #4 on: July 25, 2020, 01:08:12 pm »
Quote
There are no stupid questions,

+1

only the answer can be stupid or no sense
Programming isn't difficult, only it's  consuming time and coffee

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Three not so stupid beginners questions...
« Reply #5 on: July 25, 2020, 03:25:32 pm »
Here is a stupid question: What is stupid?

So there can be stupid questions after all!  ;-))

Offline Mad Axeman

  • Newbie
  • Posts: 74
    • View Profile
    • My web site - Harrythetrout
Re: Three not so stupid beginners questions...
« Reply #6 on: July 25, 2020, 05:06:29 pm »
Here is a stupid question: What is stupid?
Is this where I should post a photo of my wife? ;-)
Oh look - a sig file :-)