Custom Properties

Mike Kerner MikeKerner at roadrunner.com
Thu Jun 27 09:48:26 EDT 2013


Isn't there an issue of speed (although not a big difference) where custom
properties are slower than globals?


On Thu, Jun 27, 2013 at 9:31 AM, Andrew Kluthe <andrew at ctech.me> wrote:

> Hmmm, is the data being returned by that custom property an array? Array's
> don't display as strings on answer dialogs, etc.
>
> Also, why move your global variables to custom properties? There are some
> pretty good use cases for both.
>
>
> On Thu, Jun 27, 2013 at 8:19 AM, Graham Pearson <gspearson at gmail.com>
> wrote:
>
> > As I am finishing up with my first application, I am now moving global
> > variables to custom properties as recommended by other posts on this
> > list and the RunRev lessons site.
> >
> > On the main stack I have created a custom property called
> > altWebServerURL and custom contents of http://www.yourcfpro.com/TestApp/
> >
> >
> > In a RunRev lesson on custom properties it has a line that says:
> >
> > answer the cName of this stack
> >
> >
> > which displayed the name entered from a field called name.
> >
> >
> >
> >
> > If I do the answer line with my altWebServerURL all I get is a blank
> > answer box with OK and not the value of what I defined within the
> > property contents of this custom property.
> >
> >
> >
> > What am I doing wrong?
> >
> > _______________________________________________
> > 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
> >
>
>
>
> --
> Regards,
>
> Andrew Kluthe
> andrew at ctech.me
> _______________________________________________
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."



More information about the use-livecode mailing list