Anonymous user
String interpolation (included): Difference between revisions
→{{header|Forth}}
m (→{{header|Phix}}: added personal tag) |
|||
Line 984:
: Replace~ dup [char] ~ = \ test for escape char
if 'out @ 1+ #out @ type drop \ replace the
else emit \ otherwise write char
then ;
Line 1,011:
2nd Replacement : Mary had a BIG lamb
</pre>
=={{header|Fortran}}==
<lang Fortran>program interpolate
|