RotoGuru Basketball Forum

View the Forum Registry


Self-edit this thread


0 Subject: Off Topic (JAVA)

Posted by: RickZ - [261411219] Wed, Feb 12, 2003, 20:45

anyone online right now that programs in JAVA and can help me with an if/else statement.
1SillySpheres
      ID: 58512252
      Wed, Feb 12, 2003, 22:11
I program in java all the time, what is the problem?
2CanEHdian Pride
      Donor
      ID: 48936413
      Wed, Feb 12, 2003, 23:13
standing by Z-man.
3CanEHdian Pride
      Donor
      ID: 48936413
      Wed, Feb 12, 2003, 23:15
If (you let us know the problem)
we can fix it;
Else you're on your own!;
4KTx
      ID: 3129110
      Thu, Feb 13, 2003, 03:11
lol Eh
5subliminAble
      ID: 351421219
      Thu, Feb 13, 2003, 03:29
haha nice one cp
6KrazyKoalaBears
      Donor
      ID: 327481911
      Thu, Feb 13, 2003, 11:34
End If

Just covering CP so he doesn't get an error. ;)

7beastiemiked
      Sustainer
      ID: 3531815
      Thu, Feb 13, 2003, 11:46
KKB, you just caused an error. End If is for VB not Java.
8cEHp @ school
      ID: 411491311
      Thu, Feb 13, 2003, 12:54
Hey KKB, I know when it comes to computers that you aren't just an average joe but you've gotta wake up and smell the JAVA. If you already have i'd check to make sure it wasn't de-kafenatid. I mean the language is pretty basic, I guess the daily grind is gettin' to ya eh?

;)

Couldn't resist.
9OT
      ID: 10153711
      Thu, Feb 13, 2003, 17:23
EH,
Stick to the limericks. ;)
10RecycledSpinalFluid
      ID: 42121814
      Thu, Feb 13, 2003, 17:28
I think KrazyKoalaBears is more of a PHP / Python type of guy, rather than VB/VBS.
12APerfect10
      Leader
      ID: 70412023
      Thu, Feb 13, 2003, 17:42
In all fairness cEHp, your code is correct but I'm not sure it will help the guy. Most people use more than one statement.

if (expression)
{
statement(s);
....
}
else
{
statement(s);
}
13CanEHdian Pride
      Donor
      ID: 48936413
      Thu, Feb 13, 2003, 19:17
Very good point AP10.

My computer programming skills are sometimes so advanced that I forget that what to me is second nature isn't as obvious to the less enlightened.

;)
14CanEHdian Pride
      Donor
      ID: 48936413
      Thu, Feb 13, 2003, 19:19
In regards to 12,

The reason I posted the code the way I did is because had I included the braces I'm sure some JAVA purists would have come out of the woodwork and knocked my extraneous coding.
15KrazyKoalaBears
      Donor
      ID: 266182910
      Thu, Feb 13, 2003, 19:25
LOL, shows what I know about Java! :)

I'm definitely more of a PHP guy, but have had to move into ASP/VB with the new job. Still learning the ropes in that, too.

16James K Polk
      ID: 51010719
      Sun, Feb 16, 2003, 16:00
SQL = "SELECT GurupieName, Comment "
SQL = SQL & "FROM board_RotoGuru "
SQL = SQL & "WHERE GurupieProfile like 'some experience with code';"

dbConn
set gurupieArray = conn.execute(SQL)
gurupieArray = list.GetRows()
list.close


counter = 0
timestamp = now()

  Do while RickZproblem = ""
    gurupieName = gurupieArray(0, counter)
    comment = gurupieArray(1, counter)

      badCodeJoke = gurupieName & timestamp & comment
      response.write badCodeJoke

    counter = counter+1
  loop
17James K Polk
      ID: 51010719
      Sun, Feb 16, 2003, 16:27
sorry, got bored while waiting for a process to run here at work.
Rate this thread:
5 (top notch)
4 (even better)
3 (good stuff)
2 (lightweight)
1 (no value)
If you wish, you may rate this thread on scale of 1-5. Ratings should indicate how valuable or interesting you believe this thread would be to other users of this forum. A '5' means that this thread is a 'must read'. A '1' means that this is a complete waste of time.

If you have previously rated this thread, rating it again will delete your previous rating.

If you do not want to rate this thread, but want to see how others have rated it, then click the button without entering a rating, or else click here.

RotoGuru Basketball Forum



Post a reply to this message: (But first, how about checking out this sponsor?)

Name:
Email:
Message:
Click here to create and insert a link
Ignore line feeds? no (typical)   yes (for HTML table input)


Viewing statistics for this thread
Period# Views# Users
Last hour11
Last 24 hours11
Last 7 days22
Last 30 days33
Since Mar 1, 2007634352