Parse command-line arguments: Difference between revisions

Content added Content deleted
(Added Wren)
m (→‎{{header|Phix}}: added syntax colouring the hard way, phix/basics)
Line 495: Line 495:


=={{header|Phix}}==
=={{header|Phix}}==
{{libheader|Phix/basics}}
<lang Phix>sequence res = command_line()

?res</lang>
<!--<lang Phix>-->
<span style="color: #004080;">sequence</span> <span style="color: #000000;">res</span> <span style="color: #0000FF;">=</span> <span style="color: #7060A8;">command_line</span><span style="color: #0000FF;">()</span>
<span style="color: #0000FF;">?</span><span style="color: #000000;">res</span>
<!--</lang>-->

{{out}}
{{out}}
Interpreted: res[1] is the interpreter, res[2] the source
Interpreted: res[1] is the interpreter, res[2] the source