Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Jim.
>An Access method fires when you access a property, the argument you put in the parens is interpreted as an index into the array property and that is your access. The argument in the parens is NOT passed to the access method.
Actually, it is -- his property is an array, so the index is passed as the first argument to the access method (with a two-dimensional array, you'd get both subscripts passed).
See my reply to Eric for the solution to his problem.
Doug
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement