Variant: Difference between revisions
Jump to navigation
Jump to search
m (→History: Dyalog version number) |
m (→Usage =: typo) |
||
Line 9: | Line 9: | ||
Although [[SHARP APL]] didn't implement Iverson's idea, [[J]] did. Later [[Dyalog APL 13.0]] (2011) repurposed it as a way of providing auxilliary arguments to [[system functions]] and [[derived function|functions derived]] from [[system operators]], but not for primitives. | Although [[SHARP APL]] didn't implement Iverson's idea, [[J]] did. Later [[Dyalog APL 13.0]] (2011) repurposed it as a way of providing auxilliary arguments to [[system functions]] and [[derived function|functions derived]] from [[system operators]], but not for primitives. | ||
== Usage | == Usage == | ||
The Dyalog system operator <source lang=apl inline>⎕S</source> takes as operands a text be search for and what to return for each match (with <code>&</code> meaning the matched text): | The Dyalog system operator <source lang=apl inline>⎕S</source> takes as operands a text be search for and what to return for each match (with <code>&</code> meaning the matched text): | ||
<source lang=apl> | <source lang=apl> | ||
Line 39: | Line 39: | ||
Abra abra abra | Abra abra abra | ||
</source>{{Works in|[[Dyalog APL]]}} | </source>{{Works in|[[Dyalog APL]]}} | ||
== External links == | == External links == | ||
=== Tutorials === | === Tutorials === |