QB64 Phoenix Edition
Invoke QB64 compiler from commandline - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://staging.qb64phoenix.com/forumdisplay.php?fid=10)
+---- Thread: Invoke QB64 compiler from commandline (/showthread.php?tid=427)

Pages: 1 2


Invoke QB64 compiler from commandline - doppler - 05-17-2022

I know it's possible the old forum had the procedure.  Also what to look for if the compiler error's ?

I did a mass correction to almost all my code and I am damn lazy to load/recompile all of it.


RE: Invoke QB64 compiler from commandline - bplus - 05-17-2022

Sounds like a job for Wiki, are you on speaking terms?

Also if you know BAT files you could really exploit the switches available, maybe build a file browser / navigator with QB64 and use input from that to target files and folders for all kinds of file maintenance and manipulations.

Update: well I couldn't find the list for switches in Wiki, trying QB64 ? next...


RE: Invoke QB64 compiler from commandline - bplus - 05-17-2022

Ah needed whole path to qb64 then -?

Here 'tis
   


RE: Invoke QB64 compiler from commandline - bplus - 05-17-2022

Wow just can't find anything in Wiki about Command line switches.

I wonder if there is a magical set of words I need to use?


RE: Invoke QB64 compiler from commandline - RhoSigma - 05-17-2022

(05-17-2022, 07:20 PM)bplus Wrote: Wow just can't find anything in Wiki about Command line switches.

I wonder if there is a magical set of words I need to use?

It's not in the wiki, all you need to do QB64 -? at the command prompt. What's shown there is all what's in there. However, it's worth to add it, maybe at the FAQ page?

What do you mean with magic words? Do you think of hidden options or easter eggs here? No, nothing in QB64 as far as I know.


RE: Invoke QB64 compiler from commandline - bplus - 05-17-2022

Say do you need some Easter eggs to hide? I think I have some leftover, mine don't go bad. ;-))

The FAQ page was a place I looked. I was wondering if I had the correct words for command line switches, sometimes my memory fails to get the right words.


RE: Invoke QB64 compiler from commandline - doppler - 05-18-2022

@bplus There should be links to QB64 Phoenix other sites. I found what I thought could be the wiki site. Nothing about command line execution. I can work with what was shown about qb64 -? I know about "cmd/bat" scripts more than python. It should be a snap.


RE: Invoke QB64 compiler from commandline - doppler - 05-18-2022

(05-17-2022, 11:35 PM)bplus Wrote: Say do you need some Easter eggs to hide? I think I have some leftover, mine don't go bad. ;-))

Thanks for the memories, My Uncle really long ago.  Got the job to hide the Easter Eggs.  You can be surprised where a hard boiled "colored" egg could go.
BTW, always count and recover all eggs.  Otherwise it will smell at the end of summer after sitting behind the light switch receptacle, not recovered.  If it didn't crack and rot, it would still be there.


RE: Invoke QB64 compiler from commandline - RhoSigma - 05-18-2022

(05-17-2022, 07:20 PM)bplus Wrote: Wow just can't find anything in Wiki about Command line switches.

I wonder if there is a magical set of words I need to use?

So actually, there was an entry in the FAQ page, but not as you would expect it, no "command line" or "switches" in the title/question.

I've updateded the entry now:
https://qb64phoenix.com/qb64wiki/index.php/QB64_FAQ#Q:_Is_there_a_way_to_use_QB64_from_the_command_line?


RE: Invoke QB64 compiler from commandline - doppler - 05-18-2022

@RhoSigma, If I command line compile a bunch of bas files using -z "only" (To test). Do I need to include -p on the line to ensure clean compiling ?