Added: 3 years ago
From: SomaVIII
Views: 12,092
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (7)

Sign In or Sign Up now to post a comment!
  • very good, Mark

  • dude

    dont need to dim it

    just do

    name = inputbox("type")

    document.write("name")

  • @ninggy369bhagwandin

    Your correct you don't need to use dim but dim declares the variable as a variable its called good programming practice.

  • @ninggy369bhagwandin dimming shit helps to find errors when ur making longer scripts, if u put Option Explicit at the begininning of the script, then no variables will work unless u dim'd em, so if u spelled a variable name wrong it will come up as an error instead of just not working and not saying why not.

  • usually in other prog langs when u declare array of size 2 u can have just 2 elements

  • Somewhat true in "forgiving" languages you can do what I did and it will automatically add spots. You can even do that in C but its dangerous because C is directly linked to your memory and doing what I did here could crash your system.

    Thanks for pointing that out though =]

  • Hey i missed my vb class today.

    thnx ;) lol

  • @bhatika vb class????? what is that>?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more