spl

systems programming language
git clone http://frotz.net/git/spl.git
Log | Files | Refs | README | LICENSE

args.spl (147B)


      1 
      2 fn start() i32 {
      3 	var n i32 = 0;
      4 	while (n < os_arg_count()) {
      5 		writes(1, os_arg(n));
      6 		writes(1, " ");
      7 		n++;
      8 	}
      9 	writes(1, "\n");
     10 	return 0;
     11 }