Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Entry point
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===QB64=== The [[QB64]] language has no main function, the code that is not within a function, or subroutine is executed first, from top to bottom: <syntaxhighlight lang="bmax"> print "Hello World! a ="; a = getInteger(1.8d): print a </syntaxhighlight> <syntaxhighlight lang="vbnet"> function getInteger(n as double) getInteger = int(n) end function </syntaxhighlight> Command line arguments (if any) can be read using the {{mono|COMMAND$}} function: <syntaxhighlight lang="vbnet"> dim shared commandline as string commandline = COMMAND$ </syntaxhighlight> <syntaxhighlight lang="basic"> 'Several space-separated command line arguments can be read using COMMAND$(n) commandline1 = COMMAND$(2) </syntaxhighlight>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)