From within a method, how do I access a variable length argument?

John Zukowski

Arguments identified to be variable length are accessed like an array. So, to find out its length, you would check with argname.length, to access a specific entry, you would use argname[x], where x represented the position within the variable argument set you want to access.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


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

 

 

About | Sitemap | Contact