mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 08:22:13 +00:00
13 lines
223 B
C++
13 lines
223 B
C++
|
void(string, ...) print = #1;
|
||
|
|
||
|
void(float c) main = {
|
||
|
if (c == 1)
|
||
|
print("One\n");
|
||
|
else if (c == 2)
|
||
|
print("Two\n");
|
||
|
else if (c == 3)
|
||
|
print("Three\n");
|
||
|
else
|
||
|
print("Else\n");
|
||
|
};
|