GolfScript: Difference between revisions

Content deleted Content added
m Hello world: +source
m Hello world: fix source for code; explanation
Line 19:
=== Hello world ===
 
The traditional [[Hello world program]] can be written in GolfScript as:<ref>{{cite web|title=anarchy golf - Results by a language|url=http://golf.shinh.org/l.rb?gs|accessdate=20 June 2014}}</ref><ref>{{Cite web|url = http://rosettacodewww.orggolfscript.com/mwgolfscript/indextutorial.php?title=Hello_world/Text&oldid=183811#Golfscripthtml|title = HelloGolfScript world/Text - Rosetta CodeTutorial|accessdate = 2325 June 2014|website = RosettaGolfScript|date = 18 May Code2012}}</ref>
 
"Hello World!"
This program has only one item, the string <code>"Hello World!"</code>, which is pushed onto the stack and then printed at the end of the program.
 
=== Other examples ===