loading
 
VBScript Byte Variable
Frank Zhao from Canada  [6 posts]
16 year
The code won't run if I put

Dim name As Byte

to declare a variable, is the syntax wrong?

I really need to use non-floating and unsigned 8 bit numbers for my projects

Thanks for the help
Anonymous 16 year
Hi Frank

Dim name As Byte is correct syntax for Visual Basic not vbscript just use Dim name.

VbScript variables are always of the same kind or type see See http://www.4guysfromrolla.com/webtech/032801-1.shtml
Frank Zhao from Canada  [6 posts] 16 year
Thanks! Not something I'm used to but I can get by with it.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index