Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Darkbasic command line (launching db and tell it what to do)

Author
Message
intGod
17
Years of Service
User Offline
Joined: 20th Oct 2002
Location:
Posted: 20th Oct 2002 11:34
Does anyone know if you can launch DB and have it load and run a particular file ? The idea is that I want to use my own editor (ultraEdit) instead of the crappy db editor OR the other editor that's around.

Thanks !
Freddix
AGK Developer
17
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 20th Oct 2002 13:15
It should be possible because DarkEdit do it !
Bitmap
17
Years of Service
User Offline
Joined: 20th Oct 2002
Location: Latvia
Posted: 20th Oct 2002 17:16
There's a "compiler.html" file in the help directory. Check it out

Shadow Robert
17
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 21st Oct 2002 01:12
DarkEdit and CodeKeeper - both good alternatives

you can build from db like so
db.exe -c [file].dba -- debug compile (error check)
db.exe -x [file].dba -- run compile
db.exe -b "[file].exe" [file].dba -- build no media
db.exe -f "[file].exe" [file].dba -- build + media
c:\program files\dark basic software\dark basic\db.exe -f "[drive]:\[path]\[file].exe]" [file].dba -- abosolute path compile

a DBcompile.log will also be created with a list of errors that occur (if any) including linenumber.
all pretty self explaintory


Anata aru kowagaru no watashi!

Login to post a reply

Server time is: 2020-08-05 08:58:24
Your offset time is: 2020-08-05 08:58:24