Anonymous user
Set consolidation: Difference between revisions
m
→{{header|REXX}}: removed STYLE from the PRE html tag.
(→{{header|Ruby}}: change data(String->Symbol), correction of the control structure.) |
m (→{{header|REXX}}: removed STYLE from the PRE html tag.) |
||
Line 1,427:
/*──────────────────────────────────isIn subroutine─────────────────────*/
isIn: return wordpos(arg(1),arg(2))\==0 /*is (word) arg1 in set arg2? */</lang>
'''output''' when using the default supplied sample sets:
<pre>
the old sets= {A,B} {C,D}
the new sets= {A,B} {C,D}
|