Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

What does "As Long" mean?


beginer
 Share

Recommended Posts

I know this is off your topic and I appologize for it. I am just trying to learn and this topic made me think of a question. What is meant by these statements (ByVal index As Long), Dim i As Long. Basicly what does the As Long statement mean and do?
Link to comment
Share on other sites

I split your topic into another post. Please do not make posts in unrelated topics.

@beginer:

> I know this is off your topic and I appologize for it. I am just trying to learn and this topic made me think of a question. What is meant by these statements (ByVal index As Long), Dim i As Long. Basicly what does the As Long statement mean and do?

As Long isn't really where the magic occurs here. It's the "Dim" statement. Syntax:
```
Dim as
```
It allows you to use a new variable.

Long is a data type. It can hold numbers in the range of -(2^31) to +(2^31) (that is, about from -2000000 to 2000000). If you want more information, you might want to search for a Visual Basic 6 tutorial on variables.
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...