RosettaCodeData/Task/Get-system-command-output/XPL0/get-system-command-output.xpl0

7 lines
159 B
Text
Raw Permalink Normal View History

2024-03-06 22:25:12 -08:00
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