Thread: RUN-TIME ERROR
View Single Post
  #2 (permalink)  
Old May 20th, 2004, 12:18 PM
marcostraf marcostraf is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

dear Stephen,
this is absolutely trivial :)
out of range: look into you code and you can see only one array. if no arguments are passed (or less than 5) your code will always bomb because you access the strValuesFromCommandLine 0 to 5
To fix this... well there are meny ways, pick your favourite
Marco
Reply With Quote