APL Wiki logo: Difference between revisions

Jump to navigation Jump to search
22 bytes added ,  19:20, 7 January 2020
m
Line 305: Line 305:
       svg,←'</svg>'
       svg,←'</svg>'
</source>
</source>
You may recognise the pattern here as [[wikipedia:augmented assignment]] from C and related programming languages. APL allows you to use any function to modify values in-place. If you are not familiar with this, then just think of <source lang=apl inline>name,←value</source> as <source lang=apl inline>name←name,value</source> (but the pass-though value is whatever is on the right of the assignment arrow).
You may recognise the pattern here as [[wikipedia:augmented assignment|augmented assignment]] from C and related programming languages. APL allows you to use any function to modify values in-place. If you are not familiar with this, then just think of <source lang=apl inline>name,←value</source> as <source lang=apl inline>name←name,value</source> (but the pass-though value is whatever is on the right of the assignment arrow).
</source>
</source>
== Doing something with what we made ==
== Doing something with what we made ==
Now we we can put the SVG data into a native (OS) file:
Now we we can put the SVG data into a native (OS) file:

Navigation menu