[Xerte] Pass var into dot call

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Jan 4 13:21:58 GMT 2011


myObject['myProperty']

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 04 January 2011 12:57
To: Xerte list
Subject: [Xerte] Pass var into dot call


I'm having one of my frequent senior moments.

How do I pass a variable into a dot syntax call again?

e.g.
myvar = "VID95";

unitDataList[(frameList[0].currentPage)-1].PAGE[frameList[1].currentPage].myvar[0].FILE1;



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110104/02ca18e9/attachment.html


More information about the Xerte mailing list