11 lines
182 B
Text
11 lines
182 B
Text
program test;
|
|
|
|
// A function definition in Kaya:
|
|
Int multiply(Int a, Int b) {
|
|
return a * b;
|
|
}
|
|
|
|
// And calling a function:
|
|
Void main() {
|
|
putStrLn(string( multiply(2, 3) ));
|
|
}
|