Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Netbeans and Arguments (n00bish question)
#3
Ok that helps a little bit but maybe i should have worded it my question a little better. Before I ran it i changed the arguments in NetBeans to "169". So when the file tests
Code:
if(args.length > 0){
which should test as true. Afterwards it should run
Code:
number = parse.Interger(args[0]);
. This changes or casts the value of "number" to the arguments given to the program, because the length of 169 is = 3. So then after this it should run the last line which should display the output of
Code:
The square root of 169 is 13
. Why is it not changing the value of "number" to the argument of 169. Maybe I'm missing something? Is there anything that would make my theory illogical? I like your suggestions though, much appreaciated.
Reply


Messages In This Thread
RE: Netbeans and Arguments (n00bish question) - by shadywatcher212 - 05-17-2010, 09:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  netbeans error ?? prince76 1 1,096 03-22-2012, 08:56 AM
Last Post: redpois0n
  How do I turn off auto-format and auto-resize in Netbeans? nevets04 0 2,068 12-01-2009, 07:20 PM
Last Post: nevets04

Forum Jump:


Users browsing this thread: 1 Guest(s)