There is one limit to fields to be aware of (admittedly this is seldom
a problem):
Fields can only have 65536 characters per line.
Apparently Custom Properties do not have this limit.
Paul Looney
-----Original Message-----
From: Sarah Reichelt <[EMAIL PROTECTED]>
To: How to use Revolution <[email protected]>
Sent: Sat, 15 Apr 2006 07:23:49 +1000
Subject: Re: the Visible Variable
On 4/15/06, Josh Mellicker <[EMAIL PROTECTED]> wrote:
> Instead of global variables or custom properties, I've been using a
> data stack to hold data in fields.
>
> Crazy? Been there done that? Good idea? Comments?
>
Yes, I do this all the time. There is no need to "go to" or to "show"
the data stack, so the speed difference between using fields & using
custom properties effectively disappears. However it makes debugging
very easy as you can inspect & edit your data directly if needed.
Backing up the data is also made simple, since you just save a copy of
the stack.
I make sure that each data field, check box,menu button or radio
button has it's own unique name, then I collate all these names & the
name of their card into a custom property of the data stack. I have
generalised setData, getData handlers & functions that look at this
list, find the appropriate data object on it's card, and either change
or return it's value.
This is working really well for me in several big projects.
HTH,
Sarah
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your
subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution