2001-06-03 17:36:49 +00:00
|
|
|
string hello = "hello";
|
|
|
|
string world = "world";
|
2001-06-01 21:57:59 +00:00
|
|
|
float () main =
|
|
|
|
{
|
2001-06-04 04:52:14 +00:00
|
|
|
local string s;
|
|
|
|
|
2001-06-03 17:36:49 +00:00
|
|
|
print (hello + " " + world + "\n");
|
2001-06-04 03:36:35 +00:00
|
|
|
if (hello < world)
|
|
|
|
print (hello);
|
|
|
|
if (world > hello)
|
|
|
|
print (world);
|
|
|
|
print ("\n");
|
2001-06-04 04:52:14 +00:00
|
|
|
s = hello + world;
|
|
|
|
s = s + "\n";
|
|
|
|
print (s);
|
2001-06-01 21:57:59 +00:00
|
|
|
};
|
2001-06-05 23:53:55 +00:00
|
|
|
|
|
|
|
float () CheckExistence =
|
|
|
|
{
|
|
|
|
return 1;
|
|
|
|
};
|
|
|
|
|
|
|
|
void () test =
|
|
|
|
{
|
|
|
|
if (CheckExistence() == 0) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
local entity p;
|
2001-06-06 00:38:24 +00:00
|
|
|
p = self;
|
2001-06-05 23:53:55 +00:00
|
|
|
};
|