There are three ways to save.
"Save Project" - Saves .dbpro files.
This is what a .dbpro file looks like:
; **** Dark BASIC Professional Project File ****
version=DBP1.00
project name=Hello World Test
comments1=This is a test of the comments area.
todo1=0Make this program more advanced
todo2=0Add user input
; **** source file information ****
main=hello.dba
; The compiler only needs to read the final source from this entry - the editor
; handles include files, concatenation, etc.
final source=_Temp.dbsource
; The editor will replace any references to %temp in the EXE path/filename
executable=hello.exe
; **** Executable Information ***
; build types: exe, media, installer,alone
build type=exe
; ** Media file compression **
compression=NO
; ** Media file encryption **
encryption=NO
; ** Display the card options screen window? **
card options window=NO
; **** debugger information ****
; If the editor sets this to yes, it is running in debug mode
CLI=NO
; **** display mode information ****
app title=DarkBASIC Pro Project
; graphics mode options: fullscreen, window, desktop,fulldesktop, hidden
graphics mode=fulldesktop
fullscreen resolution=640x480x16
; arbitrary sizes are valid for windowed mode
window resolution=640x480
; **** External Files Information ****
; **** Media ****
media root path=
; example entries: media1=graphics\*.jpg
; **** Icons ****
; **** Cursors ****
; **** Version Info ****
VerComments=
VerCompany=Grogs Games
VerFileDesc=Hello World Program
VerFileNumber=v1.0
VerInternal=Project 17A
VerCopyright=
VerTrademark=
VerFilename=
VerProduct=
VerProductNumber=v1.0
"Save Source" - Saves a .dba file.
Here's the source for the project data above:
` Hello World
print "Hello world!"
wait key
If you just use "Save Project" your source isn't saved. If you use "Save Source" any changes you made to the settings like added media, to-do list items and so on are lost.
If you use "Save All" it allows you to save both files. First it'll ask for the .dbpro filename you want... then the filename of the .dba. Using "Save All" makes sure that nothing is lost.