Files
kotlin-fork/compiler/integration-tests/data/script/script.expected
T
Stepan Koltsov 6063c01a1c command line script launcher
% ./bin/kotlin -script hello.ktscript
hello world

% cat hello.ktscript
fun hello(what: String) = println("hello $what")
hello("world")

Note it currently takes 8 seconds to evaluate hello world script.
2012-05-23 02:52:30 +04:00

3 lines
31 B
Plaintext

OUT hello world
Return code: 0