Markavian

Untitled

Feb 12th, 2012
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // any idea why casting a string from args[] would cause a program to error?
  2. if (args.length >= 7) {
  3.     port = cast (args[6]); // fails to connect, reports that port is 25
  4.     //port = 25; // if I uncomment this line it works fine
  5. }
Advertisement
Add Comment
Please, Sign In to add comment