Author |
Topic: Calling the Compiler from the Command Line (Read 2098 times) |
|
admin
Administrator
member is offline


Posts: 1145
|
 |
Re: Calling the Compiler from the Command Line
« Reply #3 on: Nov 10th, 2008, 10:54am » |
|
Quote: I don't have the time, resources or motivation that would be required to implement such ideas and test them thoroughly.
I had hoped that you would agree that displaying a MessageBox from a console program was acceptable (even CMD.EXE itself does it: try copying a file to a write-protected floppy!); that might allow a 'quick and dirty' command-line compilation utility to be created. If not I'm afraid it's out of the question.
Richard.
|
|
Logged
|
|
|
|
mohsen
New Member
member is offline


Gender: 
Posts: 39
|
 |
Re: Calling the Compiler from the Command Line
« Reply #4 on: Nov 10th, 2008, 12:59pm » |
|
on Nov 10th, 2008, 10:54am, Richard Russell wrote:I don't have the time, resources or motivation that would be required to implement such ideas and test them thoroughly.
I had hoped that you would agree that displaying a MessageBox from a console program was acceptable (even CMD.EXE itself does it: try copying a file to a write-protected floppy!); that might allow a 'quick and dirty' command-line compilation utility to be created. If not I'm afraid it's out of the question.
Richard. |
|
I didn't get it ?
|
|
Logged
|
|
|
|
admin
Administrator
member is offline


Posts: 1145
|
 |
Re: Calling the Compiler from the Command Line
« Reply #5 on: Nov 10th, 2008, 2:05pm » |
|
Quote: Console-mode programs can display Message Boxes, Dialogue Boxes, indeed any of the usual Windows GUI controls, it's just that they don't normally do so.
It would be a lot easier (and safer) for me to create a command-line compiler utility if I could leave the warnings and error messages just as they are now - i.e. by means of a MessageBox. Despite being a console program that is perfectly possible.
Indeed, I'd probably have to display a dialogue box too, because all the compiler settings are read from the 'Compile' dialogue box.
My reference to CMD.EXE (and COMMAND.COM) - the programs that display a command prompt in a DOS-like console window - was that they too display warnings in a MessageBox in some circumstances, such as when attempting to copy a file to a write-protected floppy.
My suggestion is that if Microsoft consider that acceptable for CMD.EXE and COMMAND.COM, it ought to be acceptable (if somewhat non-standard) for a BBC BASIC compile utility too!
|
|
Logged
|
|
|
|
JGHarston
Junior Member
member is offline


Gender: 
Posts: 52
|
 |
Re: Calling the Compiler from the Command Line
« Reply #6 on: Aug 6th, 2010, 3:26pm » |
|
I compile BBFW programs with my Make utility, which could be thought of as command-line compilation.
|
|
Logged
|
|
|
|
|