Check-in [5dfef32124]
Not logged in
Overview
SHA1 Hash:5dfef321246ae30f2bdbca1e04f216140a50a744
Date: 2010-11-26 08:05:29
User: kinaba
Comment:helloworld sample and argv sample merged
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | manifest
Tags And Properties
Changes

Deleted sample/argv.pmy version [c595f8c10fb25b25]

1 -print(argv)

Modified sample/helloworld.pmy from [5a53203a60db5c54] to [da81646a4f1f8106].

1 -print("Hello, World!") 1 +# omake. how to use argv 2 +def print_list(xs) 3 +{ 4 + case xs when {car: x, cdr: xs}: ( 5 + print(x); 6 + print_list(xs) 7 + ) 8 +}; 9 +print_list(argv); 10 + 11 +# here is the helloworld 12 +print( "Hello, World" );