Author Topic: Output folder for .EXE files  (Read 4065 times)

0 Members and 1 Guest are viewing this topic.

Offline Paolo_Ricardo

  • Newbie
  • Posts: 18
    • View Profile
Output folder for .EXE files
« on: December 01, 2020, 09:56:51 pm »
As a new user of QB64 I am unclear on the following:

If I save a .BAS file into a specific folder e.g. MYFOLDER, the .EXE file is put into the QB64folder. Is there any way to ensure that the .EXE file is put into MYFOLDER?

Thanks

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Output folder for .EXE files
« Reply #1 on: December 01, 2020, 11:46:59 pm »
We need to rubber stamp the answer to this one because every new person to QB64 asks.

Welcome @Paolo_Ricardo

Under the Run Menu of the QB64 IDE (editor) put a bullet next to "Output EXE to Source Folder"


Offline Paolo_Ricardo

  • Newbie
  • Posts: 18
    • View Profile
Re: Output folder for .EXE files
« Reply #2 on: December 02, 2020, 12:12:20 am »
@bplus

Thanks. I'm afraid I didn't notice that option :-(

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Output folder for .EXE files
« Reply #3 on: December 02, 2020, 01:07:46 am »
It's OK nobody does that's why we have forums :)

@Paolo_Ricardo  have your any previous experience with QB? My guess is yes. :)

Offline Paolo_Ricardo

  • Newbie
  • Posts: 18
    • View Profile
Re: Output folder for .EXE files
« Reply #4 on: December 02, 2020, 04:46:21 am »
@bplus

Actually no, no previous experience of QB. Like a lot of people I taught myself programming with Sinclair ZX81 Spectrum Basic and followed that with BBC Basic. I then moved away from Basic (-> COBOL, C, C++, C#, SQL, Delphi Object Pascal). So I'm just revisiting Basic out of interest.

FellippeHeitor

  • Guest
Re: Output folder for .EXE files
« Reply #5 on: December 02, 2020, 07:15:32 am »
Welcome aboard, Paolo!

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Output folder for .EXE files
« Reply #6 on: December 02, 2020, 11:39:16 am »
@bplus

Actually no, no previous experience of QB. Like a lot of people I taught myself programming with Sinclair ZX81 Spectrum Basic and followed that with BBC Basic. I then moved away from Basic (-> COBOL, C, C++, C#, SQL, Delphi Object Pascal). So I'm just revisiting Basic out of interest.

Ah you should be fine then with some Basic examples to learn important keywords, you should find the IDE very nice with Syntax checking, automatic indenting and formatting unless you have a code habit/style conflict. Oh the File menu is a bit old fashioned but right in character to ye ole QB style.

The Help is way over in the top right corner, some people new to QB64 miss that too and this is priceless:
https://www.qb64.org/wiki/Main_Page
I recommend you bookmark. I like more than Help even though they are same, you can't copy / paste examples from IDE Help.
« Last Edit: December 02, 2020, 11:40:58 am by bplus »

FellippeHeitor

  • Guest
Re: Output folder for .EXE files
« Reply #7 on: January 04, 2021, 12:54:44 pm »
The Help is way over in the top right corner, some people new to QB64 miss that too and this is priceless:
https://www.qb64.org/wiki/Main_Page
I recommend you bookmark. I like more than Help even though they are same, you can't copy / paste examples from IDE Help.

Yes, you can copy/paste examples from the help into the edit area, @bplus.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Output folder for .EXE files
« Reply #8 on: January 04, 2021, 04:30:41 pm »
Yes, you can copy/paste examples from the help into the edit area, @bplus.

@FellippeHeitor

Are you saying, "You can copy / paste examples of Help from the IDE",  (not Wiki Help link which I know you can which is why I am saying I like it better.).

If you can do this please tell me how. I highlight something from Help in IDE and it wont Copy for me, QB64 v1.4 stable.


Update: OK I guess you can do it with Key presses but not with mouse.

When you right click a selected text in Help in IDE there is no popup menu.
« Last Edit: January 04, 2021, 04:47:14 pm by bplus »

FellippeHeitor

  • Guest
Re: Output folder for .EXE files
« Reply #9 on: January 05, 2021, 10:45:49 am »
Ctrl+C, Ctrl+V.

Offline GTC

  • Newbie
  • Posts: 49
  • Programmer's motto: *This* time it will work.
    • View Profile
Re: Output folder for .EXE files
« Reply #10 on: January 06, 2021, 07:53:58 am »
We need to rubber stamp the answer to this one because every new person to QB64 asks.

Under the Run Menu of the QB64 IDE (editor) put a bullet next to "Output EXE to Source Folder"

@FellippeHeitor: I have a better idea. Make that the default setting. Let people turn it off if it doesn't suit them.

FellippeHeitor

  • Guest
Re: Output folder for .EXE files
« Reply #11 on: January 06, 2021, 09:06:00 am »
First time compilation will trigger a one-time warning in the next version:
  [ You are not allowed to view this attachment ]  

Offline GTC

  • Newbie
  • Posts: 49
  • Programmer's motto: *This* time it will work.
    • View Profile
Re: Output folder for .EXE files
« Reply #12 on: January 06, 2021, 09:38:44 am »
First time compilation will trigger a one-time warning in the next version:
 

GTC likes this.

Offline zaadstra

  • Newbie
  • Posts: 78
    • View Profile
Re: Output folder for .EXE files
« Reply #13 on: January 08, 2021, 02:03:18 pm »
First time compilation will trigger a one-time warning in the next version:


Good option!  I believe it took me more than a year of hassling with the exe before I found and understood the use of that option :-)