#BlameAikar -- Among other staff fails

Discussion in 'Miscellaneous' started by Galantisizer, Sep 26, 2015.

  1. To follow up on what ShellUser said above -

    Private Function ShopAlertMsg(strBuyer as string, intQty as integer, strItem as string, intAmt as integer, Optional strOnSmp as string) as String

    Dim sb as new Stringbuilder

    sb.add(strBuyer)
    sb.add(" bought ")
    sb.add(intQty.ToString)
    sb.add(" ")
    sb.add(strItem)
    sb.add(" for ")
    sb.add(intAmt.ToString)
    sb.add(" from you.")
    sb.add(" ")
    sb.add(strOnSmp)

    Return sb.ToString

    End Function

    I'm sure Kryssy would love to debug this ;)

    Disclaimer - This is just a silly example and probably doesn't resemble the actual code in any way shape or form.
  2. #BlameAikar
  3. Krysyy once said something along the lines of "99 Little Bugs in the Code, 99 little bugs, take one down, patch it around, 198 little bugs in the code"."

    I would be the one to make that ^^ happen by changing that little period. :D
    khixan and ShelLuser like this.
  4. Huge round of applause for Aikar :p
    ShelLuser and Galantisizer like this.
  5. I've been saving this one for a really long time.
  6. Haha I have access to a lot of things I don't touch for that very reason. I know where and where not to get my hands into.
    607, khixan, ShelLuser and 1 other person like this.