You can see the code base version here :
http://www.thegamecreators.com/?m=codebase_view_code&i=f7b2caa666b473bb331082f388f97f9b
You have to use a shortcut pointing towards your exe but I find it pretty handy. *Note: No External Media Required*
Quote: "`++++++++++++++++++++++++++++++++++
`+ Example Code by: +
`+ DarkSin +
`+ webmaster@redgaming.net +
`+ URHERE.redgaming.net +
`++++++++++++++++++++++++++++++++++
`Set Window Size
if cl$() = str$(-1)
set window on
set display mode 800,600,32
endif
if cl$() = str$(-2)
set window on
set display mode 1024,768,32
endif
if cl$() = str$(-3)
set window off
set display mode 800,600,32
endif
if cl$() = str$(-4)
set window off
set display mode 1024,768,32
endif
`Set Window Text
if cl$() = str$(-1)
set window title "Window: On, Width: 800, Height: 600, Depth: 32"
endif
if cl$() = str$(-2)
set window title "Window: On, Width: 1024, Height: 768, Depth: 32"
endif
if cl$() = str$(-3)
set window title "Window: Off, Width: 800, Height: 600, Depth: 32"
endif
if cl$() = str$(-4)
set window title "Window: Off, Width: 1024, Height: 768, Depth: 32"
endif
`Set Print Text
if cl$() = str$(-1)
print "Window Mode On"
print "Screen Width: 800"
print "Screen Height: 600"
print "Screen Depth: 32"
endif
if cl$() = str$(-2)
print "Window Mode On"
print "Screen Width: 1024"
print "Screen Height: 768"
print "Screen Depth: 32"
endif
if cl$() = str$(-3)
print "Window Mode Off"
print "Screen Width: 800"
print "Screen Height: 600"
print "Screen Depth: 32"
endif
if cl$() = str$(-4)
print "Window Mode Off"
print "Screen Width: 1024"
print "Screen Height: 768"
print "Screen Depth: 32"
endif
wait mouse"
If you have any questions or comments about this code, dont hesitate to contact me by email.