view test/func.k @ 1:68307ce6839d

add some files
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Mon, 14 May 2012 13:22:21 +0900
parents
children
line wrap: on
line source

void funcB();

void func()
{
	funcB();
}
void funcB()
{
	print "test"
}

var f = function(String str) {
	print str;
};

var g = function() {
	return 3;
}


void main(String[] args)
{
	func();
	f("function");
	int num = g();
	print num
}