*Set Array(1) to ObjectA.X*.

Right now for each object, I have a long list of these and the only difference is the object they reference.

What I'm trying to do, without luck, is to call a single function which picks these parameters and to change the object called using function parameters. Something like:

*Function: Add Parameter "ObjectA"*

Call Function "Properties"

On Function "Properties"

Set Array(1) Function.Param(1).X

Set Array(2) Function.Param(1).Y

Call Function "Properties"

On Function "Properties"

Set Array(1) Function.Param(1).X

Set Array(2) Function.Param(1).Y

So that

*Function.Param(1).X*becomes

*ObjectA.X*

I'm guessing there a problem with the syntax, but I can't figure it out.

Help would be most appreciated.