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:
“One does not set fire to a world which is already lost.”
—Friedrich Dürrenmatt (19211990)
Related Phrases
Related Words