Give help. Get help.

  • # March 7, 2012 at 8:27 pm

    Trying to teach myself a few things, and am wondering how I could improve this code:

    Basically I’m after alternate/better ways to code it, and ways to streamline it. Thanks in advance guys!

    Also, how do you guys remember what does and doesn’t have a semicolon after it?

    # March 8, 2012 at 1:21 am
    I’ve added comments where I’ve changed
    The , was changed to ; because the variable “value” was being re-declared instead of redefined

    Functions don’t need to end in ; just lines within the function

    # March 8, 2012 at 2:19 am

    Ah, awesome. Good catches Karl. Thanks mate!

    # March 8, 2012 at 2:23 am

    I was trying to find a font that would change numbers to die faces
    wait for it….

    … no dice

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.