Time for an 2014 update…

This commit is contained in:
Ingy döt Net 2014-01-17 05:32:22 +00:00
parent 372c577f83
commit 09687c4926
2520 changed files with 34227 additions and 7318 deletions

View file

@ -1,5 +1,5 @@
print_all: procedure
print_all: procedure /* [↓] is the # of args passed.*/
do j=1 for arg()
say arg(j)
say arg(j)
end /*j*/
return

View file

@ -1,5 +1,5 @@
print_all: procedure
print_all: procedure /* [↓] is the # of args passed.*/
do j=1 for arg()
say '[argument' j"]: " arg(j)
say '[argument' j"]: " arg(j)
end /*j*/
return

View file

@ -1,10 +1,10 @@
call print_all .1,5,2,4,-3, 4.7e1, 013.000 ,, 8**2 -3, sign(-66), abs(-71.00), 1 || 1, 'seven numbers are prime, 8th is null'
call print_all "Hello", "World", "Bang", "Slash-N"
call print_all .1,5,2,4,-3, 4.7e1, 013.000 ,, 8**2 -3, sign(-66), abs(-71.00), 8 || 6, 'seven numbers are prime, 8th is null'
call print_all "One ringy-dingy,",
"two ringy-dingy,",
"three ringy-dingy...",
"Hello? This is Ma Bell.",
"Have you been misusing your instrument?",
"(Lily Tomlin routine)" /*example showing multi-line arguments.*/
"(Lily Tomlin routine)"
/* [↑] example showing multi-line arguments.*/