diff options
author | Michał Konopacki <konopacki.m@gmail.com> | 2012-08-09 22:13:10 +0200 |
---|---|---|
committer | Michał Konopacki <konopacki.m@gmail.com> | 2012-08-09 22:13:10 +0200 |
commit | 7b03a6a2acb9c7ddbae663b27be4b223f984cfcd (patch) | |
tree | 29855d977b5b19eac31723e490773bb30e10efae /src/CBot/tests/TestCBot/scenarios/radar.txt | |
parent | ef7e297efe63a45cd3a821c171d98d0681c714ff (diff) | |
download | colobot-7b03a6a2acb9c7ddbae663b27be4b223f984cfcd.tar.gz colobot-7b03a6a2acb9c7ddbae663b27be4b223f984cfcd.tar.bz2 colobot-7b03a6a2acb9c7ddbae663b27be4b223f984cfcd.zip |
CBot console interpreter
Based on program found in sources
Diffstat (limited to 'src/CBot/tests/TestCBot/scenarios/radar.txt')
-rw-r--r-- | src/CBot/tests/TestCBot/scenarios/radar.txt | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/CBot/tests/TestCBot/scenarios/radar.txt b/src/CBot/tests/TestCBot/scenarios/radar.txt deleted file mode 100644 index 09d84a2..0000000 --- a/src/CBot/tests/TestCBot/scenarios/radar.txt +++ /dev/null @@ -1,39 +0,0 @@ -extern void object::Bug( )
-{
- try{ int a = 44 ; a = 12 / 0 ; }
- catch(6000) { int b = 4 ; }
- finally { int z = 1 ; }
-
-// tp ( A, B );
-
-/* int a = 4, b = 2, c = nan;
- float x, y = 3/2, z = nan;
- boolean i, j = false, k = true;
-
- string s, ss = "xyz";
-
- while ( false )
- {
- object left, right;
-
- left = Radar(TypeMarkPath, -45, 120, 100);
- right = Radar(TypeMarkPath, 45, 120, 100);
-
- if ( left == null && right == null )
- {
- }
- }
- int t = fact ( 4 ) ;*/
-}
-
-void tp( point a , point b )
-{
- a.x += b.x;
-}
-
-
-int fact( int n )
-{
- if ( n < 2 ) return n;
- return n * fact ( n - 1 ) ;
-}
\ No newline at end of file |