quakeforge/tools/qwaq/main.qc

31 lines
395 B
C++
Raw Normal View History

string hello = "hello";
string world = "world";
float () main =
{
local string s;
print (hello + " " + world + "\n");
2001-06-04 03:36:35 +00:00
if (hello < world)
print (hello);
if (world > hello)
print (world);
print ("\n");
s = hello + world;
s = s + "\n";
print (s);
};
float () CheckExistence =
{
return 1;
};
void () test =
{
if (CheckExistence() == 0) {
return;
}
local entity p;
2001-06-06 00:38:24 +00:00
p = self;
};