Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Advanced
Dec 16, 2002

Boundless Array Indexing


Use this function for getting the 10th next element from an array with "circular" contents such as "Monday," "Tuesday," and so on:
 
intCurrent = WrapIndex(Index:=intCurrent, _
	Move:=+10, UpperBound:=6) 

You don
Andre Lomoy
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date