Artifact da81646a4f1f810690ef868ae8294225f0880389
- File
sample/helloworld.pmy
- 2010-11-25 23:05:29 - part of checkin [5dfef32124] on branch trunk - helloworld sample and argv sample merged (user: kinaba) [annotate]
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" );