QB64 Phoenix Edition
z switch does nothing - Printable Version

+- QB64 Phoenix Edition (https://staging.qb64phoenix.com)
+-- Forum: Chatting and Socializing (https://staging.qb64phoenix.com/forumdisplay.php?fid=11)
+--- Forum: General Discussion (https://staging.qb64phoenix.com/forumdisplay.php?fid=2)
+--- Thread: z switch does nothing (/showthread.php?tid=865)



z switch does nothing - Jack - 09-07-2022

from the wiki https://qb64phoenix.com/qb64wiki/index.php/QB64_FAQ#Q:_Is_there_a_way_to_use_QB64_from_the_command_line?
Quote:Usage: qb64 [switches] <file>

Options:
  <file>                  Source file to load
  -c                      Compile instead of edit
  -o <output file>        Write output executable to <output file>
  -x                      Compile instead of edit and output the result to the
                            console
  -w                      Show warnings
  -q                      Quiet mode (does not inhibit warnings or errors)
  -m                      Do not colorize compiler output (monochrome mode)
  -e                      Enable OPTION _EXPLICIT, making variable declaration
                            mandatory (per-compilation; doesn't affect the
                            source file or global settings)
  -s[Confusedwitch=true/false]  View/edit compiler settings
  -l:<line number>        Start the IDE at the specified line number
  -p                      Purge all pre-compiled content first
  -z                      Generate C code without compiling to executable



RE: z switch does nothing - mnrvovrfc - 09-07-2022

Note what is the time you run "qb64pe" program.

Compile your program with "-z" switch.

Then look into your "qbpe/internal/temp" directory.

Make sure there is anything in there which is very close to the time (ie. a few seconds later) you fired the "qb64pe" program.


RE: z switch does nothing - Jack - 09-07-2022

thanks mnrvovrfc Smile