<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Right.<br>OK in my instance as I have control over the term format.<br>AFA accessibility, I'm guessing no way to tabindex without setting each term in it's own display?<br>&nbsp;<br><br><hr id="stopSpelling">Subject: RE: [Xerte] Accessing associative arrays via variable?<br>Date: Tue, 29 Dec 2009 16:52:59 +0000<br>From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br><br>



<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>



<div id="ecxidOWAReplyText51974" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Arial">I think it didn't properly find all the instances in the text.</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">term</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">term.</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">term,</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">-term.</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">Term.</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">TERM</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">terms.</font></div>
<div dir="ltr"><font face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial">It just looked for [space]term[space] and didn't try anything more intelligent. Also it wasn't keyboard accessibile but that ought not to be reason to not have it at all.</font></div></div>
<div dir="ltr"><br>
<hr>
<font size="2" face="Tahoma"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk on behalf of Dave Burnett<br><b>Sent:</b> Tue 29/12/2009 13:32<br><b>To:</b> Xerte list<br><b>Subject:</b> RE: [Xerte] Accessing associative arrays via variable?<br></font><br></div>
<div><br><font face="Verdana">Julian, before I go much further down this road, I ran across this and was wondering if you could elaborate:</font><font face="Verdana"><br></font><font face="Verdana"><br></font><font face="Verdana">"I commented out that functionality as I wasn't too happy with the way it</font><font face="Verdana"> </font><font face="Verdana">worked,.."<br><br></font>http://lists.nottingham.ac.uk/pipermail/xerte/2009-April/001421.html<br><br>Hope Santa didn't bring too many lumps of coal to the Xerte listers.<br><br>Dave<br><br><br>
<hr id="ecxstopSpelling">
Subject: RE: [Xerte] Accessing associative arrays via variable?<br>Date: Sun, 27 Dec 2009 22:46:43 +0000<br>From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br><br>
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>

<div id="ecxecxidOWAReplyText83440" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Arial">b = new Object();<br>b.blah = 'value';</font></div>
<div dir="ltr"><font size="2" color="#000000" face="Arial">v='blah';<br>debug(b[v]); //works for me</font></div></div>
<div dir="ltr"><br>
<hr>
<font size="2" face="Tahoma"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk on behalf of Dave Burnett<br><b>Sent:</b> Sun 27/12/2009 21:49<br><b>To:</b> Xerte list<br><b>Subject:</b> RE: [Xerte] Accessing associative arrays via variable?<br></font><br></div>
<div>help_defs = new Object();<br>helps_defs.Atomic = "Roosters are atomic";<br>debug(helps_defs.Atomic); // gives me "Roosters are atomic"<br>
<div id="ecxecxecxidOWAReplyText44362" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Arial">myVar = 'Atomic';</font></div>
<div dir="ltr"><font face="Arial">debug(help_defs[myVar]); // gives me u</font>ndefined.<br></div></div><br><br><br>
<hr id="ecxecxstopSpelling">
Subject: RE: [Xerte] Accessing associative arrays via variable?<br>Date: Sun, 27 Dec 2009 21:23:56 +0000<br>From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br><br>
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>

<div id="ecxecxecxidOWAReplyText44362" dir="ltr">
<div dir="ltr"><font size="2" color="#000000" face="Arial">myVar = 'Atomic';</font></div>
<div dir="ltr"><font face="Arial">debug(help_defs[myVar]);</font></div></div>
<div dir="ltr"><br>
<hr>
<font size="2" face="Tahoma"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk on behalf of Dave Burnett<br><b>Sent:</b> Sun 27/12/2009 18:05<br><b>To:</b> Xerte list<br><b>Subject:</b> [Xerte] Accessing associative arrays via variable?<br></font><br></div>
<div><br>help_defs = new Object();<br>helps_defs.Atomic = "Roosters are atomic";<br>debug(helps_defs.Atomic); // gives me "Roosters are atomic"<br><br>Can I sub a variable into the place of .Atomic in that last statement?<br><br>Sort of like in AW, to call a value from a property list using a variable for the property name I'd use:<br><br>Trace(my_prop_list[Symbol("a"^some_variable)]) <br>
<hr>
Hotmail: Trusted email with Microsoft’s powerful SPAM protection. <a href="http://clk.atdmt.com/GBL/go/177141664/direct/01/">Sign up now.</a> </div><br>
<hr>
Hotmail: Powerful Free email with security by Microsoft. <a href="http://clk.atdmt.com/GBL/go/171222986/direct/01/">Get it now.</a> </div><br>
<hr>
Hotmail: Trusted email with Microsoft’s powerful SPAM protection. <a href="http://clk.atdmt.com/GBL/go/177141664/direct/01/">Sign up now.</a> </div>                                               <br /><hr />Hotmail: Free, trusted and rich email service. <a href='http://clk.atdmt.com/GBL/go/171222984/direct/01/' target='_new'>Get it now.</a></body>
</html>