>Hi all,
>
>Has anyone figured out the right syntax for passing an array property or an object to a function or method?
>
>All of these give me a syntax error, and I am out of ideas:
>
>@.aArray
>@this.aArray
>@thisform.thisobject.aArray
>@(.aArray)
>@(this.aArray)
>@(thisform.thisobject.aArray)
>
>TIA
>
>Regards,
In addition to Barbara's suggestion, you could also make a custom object whose only property is an array. You could write some methods for sizing, adding, deleting the elements. This object can then be passed to functions. Short of that, you're pretty much left with copying the property array to a local one, passing that and then copying any changed results back to the property array.
Steve
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