Re: Add an array as a form property

Author: Eurico Chagas Filho

Posted: 2012-12-18 at 08:06:25

thisform.oCol= CREATEOBJECT([Collection])

thisform.oCol.Add(CREATEOBJECT([Empty]))

ADDPROPERTY(thisform.oCol.Item(1),"cTable(1)")

E.

>________________________________

> From: Mike Copeland <mike@ggisoft.com>

>To: profox@leafe.com

>Sent: Tuesday, December 18, 2012 10:05 AM

>Subject: Re: Add an array as a form property

>

>It's just a very clean and orderly way to keep your memory variables from stepping on each other...keeping reference to the form helps define each array's scope and purpose.

>

>Mike

>

>-------- Original Message --------

>Subject: Re: Add an array as a form property

>From: Allen <profox@gatwicksoftware.com>

>To: profoxtech@leafe.com

>Date: 12/18/2012 6:03 AM

>> You can use arrays as a form property instead of each method. Makes it available as thisform.array to all methods. Also Formname.array from other forms and progs.

>> Al

>>

>> -----Original Message-----

>> Forgive me, what are typical uses of such an array?

>> ------Original Message------

>> From: Allen

>> Sender: ProFox

>> To: profox@leafe.com

>> ReplyTo: ProFox Email List

>> Subject: Re: Add an array as a form property

>> Sent: Dec 18, 2012 5:44 AM

>>

>> myarray[1]

>> Al

>>

>>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1355839585.46211.YahooMailNeo@web140603.mail.bf1.yahoo.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Eurico Chagas Filho