mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 22:22:17 +00:00
12 lines
271 B
C++
12 lines
271 B
C++
|
void(string, ...) print = #1;
|
||
|
string(float) ftos = #2;
|
||
|
|
||
|
void(float a, float b) main = {
|
||
|
if (a == b) print("eq,");
|
||
|
if (a != b) print("ne,");
|
||
|
if (a > b) print("gt,");
|
||
|
if (a < b) print("lt,");
|
||
|
if (a >= b) print("ge,");
|
||
|
if (a <= b) print("le,");
|
||
|
};
|