List comprehensions: Difference between revisions
Content added Content deleted
(List comprehensions en FreeBASIC) |
m (→horizontal list: changed a (title) comment.) |
||
Line 2,104: | Line 2,104: | ||
===horizontal list=== |
===horizontal list=== |
||
<lang rexx>/*REXX program |
<lang rexx>/*REXX program shows a horizontal list of Pythagorean triples up to a specified number. */ |
||
parse arg n . /*get the optional argument from the CL*/ |
parse arg n . /*get the optional argument from the CL*/ |
||
if n=='' | n=="," then n= 100 /*Not specified? Then use the default.*/ |
if n=='' | n=="," then n= 100 /*Not specified? Then use the default.*/ |