Creating a customkey from a variable

stephen barncard stephenREVOLUTION2 at barncard.com
Wed Apr 27 12:09:36 CDT 2011


store all your info in one array then store the whole array...

set the customProperties["testname"] of  stack tFilepath to testname

On 27 April 2011 09:29, Glen Bojsza <gbojsza at gmail.com> 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 <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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>


More information about the use-livecode mailing list