.bmx to executable

BlitzMax Forums/BlitzMax Beginners Area/.bmx to executable

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Does it appear to lock up for about 166 seconds ?

Some tips...

If you aren't doing anything "graphicsy", you don't need the first line. The "Print" statements will output to the console.

If you want the text to appear on the graphics window, you will need to use - DrawText "sometext", x, y

How's about :
Graphics 800,600

firstname$ = "Gilbert"
lastname$ = "Gregg"
age = 16

DrawText "Hello! My name is " + firstname$ + " " + lastname$ + "!", 100, 200
DrawText "I am " + age + " years old.", 100, 220
DrawText "I have " + (18 - age) + " years left until I turn 18.", 100, 240

Flip
WaitKey

Print "That's the end of me!"


I suggest you also look into using "Strict" or "SuperStrict", which turns on lots of compile-time error checking and other useful things to help catch basic coding errors.