Current level of experience

Page 2 of 2 FirstFirst 12
  1. tmcd35
    tmcd35
    Code:
    10 LABEL Apple
    20 GOTO Apple
  2. bondbill2k2
    bondbill2k2
    Code:
    i = 1
      while i<=0 {
         i++
      }
    else
    {
      echo "go home your drunk"
    }
  3. Fleetwood
    Fleetwood
    I worked with PAWN for six years (main programming language used for the SA-MP mod, I did various scripts and eventually was able to create gamemode scripts from scratch, including using them for MySQL linkage.) which is pretty much identical to the code Bondbill has posted above, so I shouldn't have too much issue getting to grips with the updated syntax (PAWN is, AFAIK, a 'sub-child' of one of the C languages. It used to be called Small.) - I also had a brief dabble with LUA but not for long (programming language used for MTA.. yeah, I like GTA:SA. Bite me.)

    I've also created UCP's using PHP + MySQL together. I'm no expert by any means but I'd say I'm reasonably clued up on it.. to an extent.
  4. tmcd35
    tmcd35
    Code:
    i = 1
      while i<=0 {
         i++
      }
    else
    {
      echo "go home your drunk"
    }
    Am I missing something, but that's not an infinite loop. i is already greater than 0 so the loop is completely bypassed...

    Code:
    i = 1;
      while i>0 {
         i=++;
      }
    else
    {
      echo "go home your drunk";
    }
    means you never "go home drunk"
  5. bondbill2k2
    bondbill2k2
    haha yes you are correct teachs me to mess around on here when I should be doing other things
Results 11 to 15 of 15
Page 2 of 2 FirstFirst 12