Iterators: Difference between revisions
Content added Content deleted
(Added XPL0 example.) |
m (→{{header|Phix}}: added link to same fringe task) |
||
Line 188: | Line 188: | ||
=={{header|Phix}}== |
=={{header|Phix}}== |
||
Phix does not have iterators or for that matter design patterns. Since there are only |
Phix does not have iterators or for that matter design patterns. Since there are only |
||
five builtin data types it is not an issue for a routine to "know" what it is doing. |
five builtin data types it is not an issue for a routine to "know" what it is doing.<br> |
||
Something along the lines of [[Same_fringe#Phix]] could perhaps also be used to implement custom iterators. |
|||
<!--<lang Phix>(phixonline)--> |
<!--<lang Phix>(phixonline)--> |
||
<span style="color: #008080;">with</span> <span style="color: #008080;">javascript_semantics</span> |
<span style="color: #008080;">with</span> <span style="color: #008080;">javascript_semantics</span> |