note
Anonymous Monk
Beautiful description. I too have tried over and over to learn this. I ended up creating a moc multi-dimentional array with a hash: <p>
<code> $qa{"Q1.A3"} ="Question 1, Answer 3"; </code> # dbl Quotes required! <p>
I can iterate through the array answers for Q1 like this: <p>
<code> for $i (1..5) print $qa{"Q1.A$i"} . '\n'; </code> <p>
As an added benefit, I can also create other "properties":<p>
<code> $qa{"Q1.type"} = "radio";</code> <p>
So, that makes it sort of like a virtual object, which I need to learn someday. This was great. Thanks again. -sleve
90647
90647
8