Page 1 of 1

[30 Aug 2006] Preserving Table Data

Posted: Sat Jun 13, 2020 5:31 pm
by PEB
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 30 Aug 2006 18:58:36 -0700 (PDT)

Here's my problem: I fill a couple tables with an array of data, and at that time I am able to access all of the items in that table. Then I do a bunch of graphical minipulations, change backgrounds a few times; but then when I want to access the data in those tables again, Hollywood says that I haven't initiated them yet.

How can I get Hollywood 2.0 to preserve the data in those tables?

[31 Aug 2006] Re: Preserving Table Data

Posted: Sat Jun 13, 2020 5:31 pm
by GMKai
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 31 Aug 2006 07:02:12 +0200

where do you init those tables? make them global not within a subfunction, this is at least my guess

[31 Aug 2006] Re: Preserving Table Data

Posted: Sat Jun 13, 2020 5:31 pm
by PEB
Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 31 Aug 2006 09:03:21 -0700 (PDT)

Sorry guys; it was my stupid mistake.

Hollywood was not saying that the TABLE was not initialized; it was saying that a particular FIELD in the Table was not initialized.

And this makes perfect sense.

Thanks anyway.