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
One-liner program
(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!
===BASIC=== [[File:10print.gif|thumb|Simulated output of the ''10PRINT'' one-liner BASIC program for the Commodore 64]] A single line of BASIC can typically hold up to 255 characters, and one liners ranged from simple games<ref>{{cite web |title=Acorn User One-Line Games (Escape From Voros, Lexxias, Race To Varpon, Storm Clouds Over Zaqqit, Zander (AKA Lurch)) |url=http://bbcmicro.co.uk/game.php?id=2718 |website=bbcmicro.co.uk |accessdate=3 July 2018 |language=en}}</ref> to graphical demos. One of the better-known demo one-liners is colloquially known as ''10PRINT'', written for the [[Commodore 64]]: <syntaxhighlight lang="cbmbas"> 10 PRINT CHR$(205.5+RND(1)); : GOTO 10 </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)