Invoke QB64 compiler from commandline
#1
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.
Reply
#2
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...
b = b + ...
Reply
#3
Ah needed whole path to qb64 then -?

Here 'tis
   
b = b + ...
Reply
#4
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?
b = b + ...
Reply
#5
(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.
Reply
#6
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.
b = b + ...
Reply
#7
@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.
Reply
#8
(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.
Reply
#9
(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.p...mand_line?
Reply
#10
@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 ?
Reply




Users browsing this thread: 2 Guest(s)