Sign in to follow this  
Followers 0
brodie28

Still an option to have array indexes start at 1?

2 posts in this topic

There used to be an option to make the default first index of an array 1 instead of 0, but I can't find it.

Any ideas?

Share this post


Link to post
Share on other sites



There used to be an option to make the default first index of an array 1 instead of 0, but I can't find it.

Any ideas?

That must have been a looooooong time ago. Like AutoIt 2.x.

You've always had the option to just ignore [0] and work with [1] thru [n]. The only exception is when you declare the array you need to use n+1. Some of the array UDFs still allow you specify the starting index.

muttley


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
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
Sign in to follow this  
Followers 0