Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any way to to include command line options into the code?
Is there any compiler directive to include command line options into the source? I've looked in the docs and in the forum, and found some mentions about "#pragma", but nothing clear.

I always include the following comment at the top of my source

' Compile with the following command:
' myprogram.bas --tap --autorun --BASIC --strict-bool
in order to remember the options needed (sometimes I tinker with them, and they are not the same for every program). It would be easier to include the options into the source:

#option tap
#option strict-bool
#options tap strict-bool

Then all programs could be compiled just with program.bas. Of course, the actual command line options would have higher priority than those in the source.

Messages In This Thread

Forum Jump:

Users browsing this thread: 1 Guest(s)