RosettaCodeData/Task/Get-system-command-output/XPL0/get-system-command-output.xpl0
2024-03-06 22:25:12 -08:00

6 lines
159 B
Text

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