Erm..

Blitz3D Forums/Blitz3D Beginners Area/Erm..

Yoshi(Posted 2005) [#1]
I just bought this a few hours ago,Went to go see a movie. Come back and try it out and look at the tut.


Print"Hello Sheep"
Print"Hello Cup Of Tea"
End

When Ever I try running it closes..is this normal lol


Yoshi(Posted 2005) [#2]
Ok well I tried it without the "End" and it worked...should I like...Not listen to the tutorials ?


WendellM(Posted 2005) [#3]
Welcome aboard!

If debug is on (via "Program|Debug Enabled?" in the menu) and there's no End, Blitz will give you a "Program Has Ended" pop-up within the IDE. It won't if debug is off.

You're probably better off putting in an End, but putting a Waitkey() before it (if you want the program to wait for you to press any key before ending, so that you'll have a chance to read the screen). That way, your program will act like it will when compiled stand-alone (no "Program Has Ended" pop-up there, whether compiled with debug on or not).


jfk EO-11110(Posted 2005) [#4]
In other words: it's too fast to read or even see it, it ends before you can see it (or before the monitor was refreshed). So, yes, use waitkey()

print "test"
print "press any key to end this app"
waitkey()
end


Lane(Posted 2005) [#5]
Welcome aboard, it's always exciting to see new blood around here.