git @ Cat's Eye Technologies Befunge-93 / 74b26bc
Fix mangled example, and typo, and add conversion note. catseye 12 years ago
1 changed file(s) with 6 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1010 *Original document September, 1993*
1111 *Updated December, 1996*
1212 *Updated Yet Again September, 2004*
13 *Converted from HTML to Markdown August 2012*
1314
1415 ### The Basics of Befunge-93 ###
1516
174175 `:` is the duplication command. It makes a copy of the top element of
175176 the stack. This is useful, as demonstrated in the following program:
176177
177 v.<>:| @
178
179 This program makes duplicates of each value on the stacked, which is
178 v.<
179 >:|
180 @
181
182 This program makes duplicates of each value on the stack, which is
180183 checked, and if non-zero, printed.
181184
182185 `$` pops a value off the stack, but does nothing with it. So,