Why not use a two-dimensional array, as in:
on mouseUp
put "Math" into testname
put "Jane" into student
put "A+" into score
set the testresults[testname][student] of this stack to score
end mouseUp
On 4/27/2011 12:29 PM, Glen Bojsza wrote:
I forgot to show that the score and student can be a variables...
On Wed, Apr 27, 2011 at 10:27 AM, Glen Bojsza<gboj...@gmail.com> wrote:
Hello,
Hopefully someone is still looking at the list while the conference is
going on...
I want to create a customkey from a variable.
on mouseup
put "Math" into testname
set the testname[student] of this stack to score
end mouseup
this doesn't create the customkey or properties for me but if I don't use a
variable it will work?
on mouseup
set the Math[student] of this stack to score
end mouseup
I really would like to use a variable so I can automatically create the
customkeys on the fly.
Any suggestions?
regards,
Glen
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
--
Paul Dupuis
Cofounder
Researchware, Inc.
http://www.researchware.com/
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode