@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.
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.
very good, Mark
marksaimann 1 year ago
dude
dont need to dim it
just do
name = inputbox("type")
document.write("name")
ninggy369bhagwandin 2 years ago
@ninggy369bhagwandin
Your correct you don't need to use dim but dim declares the variable as a variable its called good programming practice.
SomaVIII 2 years ago
@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.
iKhazModan 1 year ago
usually in other prog langs when u declare array of size 2 u can have just 2 elements
100Careless 2 years ago
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 =]
SomaVIII 2 years ago
Hey i missed my vb class today.
thnx ;) lol
bhatika 2 years ago
@bhatika vb class????? what is that>?
alexpositivecharge 2 months ago