Hello World Example
The following single line of PureBasic code will create a standalone executable (3.00 KB (3,072 bytes) on Windows version) that displays a message box with the text "Hello World".
MessageRequester("Message Box", "Hello World")
And the following variant of the same code, which instead uses an inline Windows API call with no need for declarations or other external references, will create an even smaller 2.00 KB (2,048 bytes) standalone executable for Windows.
MessageBox_(0, "Hello World", "Message Box", 0)Read more about this topic: PureBasic
Famous quotes containing the word world:
“I saw young Harry with his beaver on,
His cuisses on his thighs, gallantly armed,
Rise from the ground like feathered Mercury,
And vaulted with such ease into his seat
As if an angel dropped down from the clouds
To turn and wind a fiery Pegasus,
And witch the world with noble horsemanship.”
—William Shakespeare (15641616)