mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
12 lines
223 B
C++
12 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");
|
|
};
|