ZealOS/src/Demo/SubSwitch.CC
xmm15 889d97383d 2 Spaces -> 1 Tab (4 spaced) for indentation
Fixed PCILookUpSingle code for this change
EdCodeTools reindent needs to be updated
2020-02-20 17:40:10 -06:00

21 lines
294 B
HolyC
Executable file

U0 SubSwitch()
{
I64 i;
for (i=0;i<10;i++)
switch (i) {
case 0: "Zero "; break;
case 2: "Two "; break;
case 4: "Four "; break;
start:
"[";
case 1: "One"; break;
case 3: "Three";break;
case 5: "Five"; break;
end:
"] ";
break;
}
'\n';
}
SubSwitch;