Creating a customkey from a variable

Pete pete at mollysrevenge.com
Wed Apr 27 13:14:36 EDT 2011


Maybe try something like this (untested):

put "Math" into testname
set the custompropertyset of this stack to testname
set the student of this stack to score
set the custompropertyset to empty

Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Wed, Apr 27, 2011 at 9:27 AM, Glen Bojsza <gbojsza at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>



More information about the use-livecode mailing list