Use Sys.argv (which an array).

1
2
3
4
5
6
7
8
9
#light

let _ =


  print_endline Sys.argv.[0] // the program name
  Array.iter (printf "%s ") Sys.argv // print all

By on 4/23/2007 9:09 AM ()

great. thanks a lot.

By on 4/24/2007 1:16 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper