Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Your best "Hello, world!" program in FreeBasic
#17
[quote="stylin"]Simple. Post a neat "Hello, world!" program. It does not necessarily have to be obfuscated, but should be clever, inefficient, unsafe or otherwise something you shouldn't be doing. Wink


This one i guess is unsafe but it works for me.

Code:
Dim msg(8) As uByte ptr
Dim msg_p As ZString ptr
  msg_p = cptr(ZString ptr, @msg(0))
  *msg_p = "Hello World!"
  Print *msg_p
Sleep
EVEN MEN OF STEEL RUST.
[Image: chav.gif]
Reply


Messages In This Thread
Re: Your best "Hello, world!" program in FreeBasic - by yetifoot - 02-01-2006, 01:33 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)