If i want to access line command params i used code like this:

fn main() {
  let args: ~[~str] = ::std::os::args();
  println(args[0]);
}


Is this the best way to play with such params or the best is using
print_args? i've found no examples using print_args....

thanks, regards.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to