PVJsquad Posted January 27, 2012 Author Share Posted January 27, 2012 Sorry previously annoying, I have a question, and it is as followswhat does it mean? or a difference of?* Dim As Long* Dim As Byte* Dim As String* Dim As Interger* And many morePlease tell me :cool: Link to comment Share on other sites More sharing options...
Robin Posted January 27, 2012 Share Posted January 27, 2012 It's called a variable. Google it. Link to comment Share on other sites More sharing options...
PVJsquad Posted January 27, 2012 Author Share Posted January 27, 2012 Oke thank's Robin Link to comment Share on other sites More sharing options...
evilbunnie Posted January 27, 2012 Share Posted January 27, 2012 Basically, dim tells the system to reserve space for a specific data type to be used later on in the program. So once dimmed it would hold a specific data type. So, integer would hold whole numbers, long is really just int32, meaning it's an integer that can hold more numbers than the former.Byte holds whole numbers up to 255, used when you don't need to use as much memory as an integer would, in exchange for the inability to store numbers more than 255\. An integer or long is actually made up of bytes.A string is just an array of characters, each character being a byte large, so I would use them carefully as doing intensive operations with strings is very memory consuming. This is a string, "Hello, this is a string". so using dim as the case, to use them you would do.```dim tmpStr as stringtmpStr = "Everything within the quotes is part of the string"```This is just a brief, so as Robin said I'd probably go and google them some more to understand better. Link to comment Share on other sites More sharing options...
Robin Posted January 27, 2012 Share Posted January 27, 2012 Why in God's name would you explain what a variable is? Link to comment Share on other sites More sharing options...
evilbunnie Posted January 27, 2012 Share Posted January 27, 2012 @Robin:> Why in God's name would you explain what a variable is?Wanted to let out all my emotions, after that 24 hours of straight torture you put me through. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now