Skip to content

Commit

Permalink
Simplifed Test File
Browse files Browse the repository at this point in the history
     A actual test file will be created soon
  • Loading branch information
Tyler C committed May 13, 2011
1 parent a1388aa commit cb2b735
Showing 1 changed file with 1 addition and 57 deletions.
58 changes: 1 addition & 57 deletions src/somelanguage/file.txt
@@ -1,58 +1,2 @@
var test = "Mello Hello";

if ( 1 == 1 ) {
echo ( "Meh" );
echo ( "Test" );
};

var nedIsCrazy = function {
echo ( "Running" );
print ( true );
return true;
};

var status = nedIsCrazy ( );

echo ( status );

if ( status ) {
echo ( "Test" );
}

if ( 2 == 1 );

echo ( test );

var someFunction = function {
echo ( 98 );
};

echo ( 1 == 1 );

someFunction ( );

var Math = function {
var amount = argument1;

var add = function {
return argument1 + amount;
};

var subtract = function {
return argument1 - amount;
};

var multiply = function {
return argument1 * amount;
};

var divide = function {
return argument1 / amount;
};

return divide;

};

var t = Math ( 10 );
return t ( 20 );
say test;

0 comments on commit cb2b735

Please sign in to comment.