< > help lol

Discussion in 'Plugin Development' started by TheGamesHawk2001, Nov 28, 2014.

Thread Status:
Not open for further replies.
  1. Hey, I know this is really nooby but how do you use the < and >'s ? Would this mean if the args are bigger than zero? if (args.length > 0) thx :)
     
  2. Online

    timtower Administrator Administrator Moderator

    TheGamesHawk2001 To be honest: this is basic java. It means greater then, and lesser then.
     
  3. I know that.. and it's not basics of Java. it's the basics of math/s that I haven't done for like a million years hence the humiliation when I posted the thread.
     
  4. Offline

    NickelCoding

    For example, if you still need it:

    if(args.length > 0) { //if the arguments are greater than 0

    }

    if(args.length >= 1) { //if the arguments are greater or equal to 1

    }

    if(args.length <=2) { //if the arguments are less or equal to 2

    }

    Some basic math, like you said in the post before.^^
    Hope I helped using > <
     
  5. Offline

    Rocoty

    Don't you have a computer with the JDK installed?
     
    Konkz likes this.
  6. Offline

    teej107

    What does this thread have to do with Bukkit?
     
  7. Offline

    Creeoer

    Instead of asking a question about the fundamentals of math on the bukkit forums (Embarassing yourself) how about you do a google search, so no one can find out.
     
  8. Offline

    Googlelover1234

    Creeoer
    Now why would we want to do that? We of course want to waste the time of fellow Bukkit developers, that's all we do all day!
     
  9. Offline

    ChipDev

    Oh my. Have you been to third grade..? Seriously!
    Second: use if(args.length != 0)
    Third : test it if you didn't know ;)
     
  10. Locked, this has been answered already no need to continue bumping it.
     
Thread Status:
Not open for further replies.

Share This Page