☰
Debian Codegraph
@
1.5.5.8-1
/
/
src
/
test
/
01-Basic
/
101.ck
☽
☼
src/test/01-Basic/101.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
1
// static function test: calling from instance
2
3
public class Foo
4
{
5
fun static void foo( string s )
6
{
7
if( s == "bar" ) <<< "success">>>;
8
}
9
}
10
11
// instantiate
12
Foo f;
13
// call here
14
f.foo( "bar" );