console program

BlitzMax Forums/BlitzMax Programming/console program

johnnyfreak(Posted 2008) [#1]
My program is
Print "hello world"


If i execute it on maxIDE it prints "hello world" but if i use cmd.exe (on wondows: start->run...->cmd.exe) it doesn't show anything on stdout.

why?


GfK(Posted 2008) [#2]
Untick "Build GUI App" in the program menu.

Might need to add a delay in too, otherwise I dunno if the window will close straight away.


Brucey(Posted 2008) [#3]
Trying changing program settings, by disabling Build Options -> Build GUI App, and re-build your app.

Or what Gfk said :-p


johnnyfreak(Posted 2008) [#4]
ok! thanks, now it works ;) (switched off "build GUI app")