Get system command output: Difference between revisions

Added XPL0 example.
m (→‎{{header|Racket}}: Added missing </code> tag.)
(Added XPL0 example.)
 
Line 1,808:
vm.Free()
}</syntaxhighlight>
 
=={{header|XPL0}}==
Use a pipe on the command line to run this. For example: dir | syscmd
<syntaxhighlight lang "XPL0">int C;
repeat C:= ChIn(1);
if C>=^a & C<=^z then \lowercase letters to uppercase
C:= C & ~$20;
ChOut(0, C);
until C = $1A</syntaxhighlight>
 
=={{header|Yabasic}}==
295

edits