Sign in to follow this  
Followers 0
aiter

arrays starting from 1

3 posts in this topic

Is there a directive for arrays to start numbering from 1 instead of zero?

 

Share this post


Link to post
Share on other sites



Yeah... But if it means a lot to you, and if you are using mixes 0-based and 1-based arrays, you could use _ArrayInsert to insert a dummy as the 0-th value. It would be a somewhat dirty solution and I'd always go for making sure that you treat arrays as you need to treat them... But hey, it's an option.


Roses are FF0000, violets are 0000FF... All my base are belong to you.

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