summaryrefslogtreecommitdiffstats
path: root/src/CBot/TestCBot/TestCBot1.txt
blob: d27b4f8aa1a2656be39786b54d56fa689ab7b295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
class CPoint2
{
	float x, y;
	void	CPoint2(float x, float y)
	{
		this.x = x;
		this.y = y;
	}
}

public extern void T ( )
{
	CPoint2	X( 12, 33 ), Y ( -4, 4/3 );
	print ( X, Y ) ;
}

public extern void Hello (  )

{
	println ( "Hello" );
}

public extern void test ( int n )
{
	for ( int i = n; i>0 ; i--) print (i);
}