By using this site, you agree to our Privacy Policy and our Terms of Use. Close
TheRealMafoo said:
bardicverse said:
Or in Dark Basic Pro

Print "Hello, world!"
END

Or, if you want to get advanced and add an IF THEN loop loop:

INT = 3
IF INT > 0
PRINT "Hello, World!"
INT--
ELSE
END

 

I optimized it for you :)

Zero is always in a memory register in the CPU, so it's faster to check a value against 0 then it is any other number (you never have to pass it in from memory). So if you can, always count down.

Rockin. Exaclty why I'm not the lead programmer on our dev team. =D My focus is in the audio department, music, sound design. Also do some level design work. =) So it's easier to count down as opposed to up? Never heard that before, good stuff!