"Hello World" wont run (yes, im new to this ^_^)

Started by Mr.Clean, November 03, 2010, 08:39:22 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mr.Clean

i decided to try out Bennupack like windgate said and got it from:

http://code.google.com/p/colombiandevelopers/downloads/detail?name=TTools%20R.20%20Installer.rar&can=2&q=

after saving test.prg where the exes were i was able to run it. however, when i press Build Exe and run the exe, it opens and closes quickly, is there a way to make the exe stay open, like a pause command or something?

SplinterGU

hi!

please, look this

C:\Documents and Settings\user>C:\Bennu\Bin\bgdc.exe bgdc test.prg

you have an extra "bgdc" in your configuration.

take the suggest that did DCelso, fix your configuration, navegate on configuration options and fix it.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

SplinterGU

Quote from: Mr.Clean on November 04, 2010, 01:07:38 AM
i decided to try out Bennupack like windgate said and got it from:

http://code.google.com/p/colombiandevelopers/downloads/detail?name=TTools%20R.20%20Installer.rar&can=2&q=

after saving test.prg where the exes were i was able to run it. however, when i press Build Exe and run the exe, it opens and closes quickly, is there a way to make the exe stay open, like a pause command or something?

it's ok

you must do a while with a frame after your write, or your game exit.

edit: oh, sorry, you use say, not write, then you can't get anything on screen... say print to console.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

Mr.Clean


SplinterGU

begin
write(0,10,10,0,"hello world");
while(!key(_ESC))
frame;
end;
end
Download Lastest BennuGD Release: http://www.bennugd.org/node/2


SplinterGU

Download Lastest BennuGD Release: http://www.bennugd.org/node/2