From within a method, how do I access a variable length argument?
Created May 8, 2012
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.