On 2018-01-30 18:02, Fernando D. Bozzo wrote:
A small error writing by heart, but EMPTY class has no AddProperty()
method, so really is:
AddProperty( loReg, "name", value)
...
I've always just used ADDPROPERTY(object, field, value)...I've never
used the .AddProperty of any legitimate object.
At 12:00 2018-01-30, Stephen Russell wrote:
Still trying to think of why you would use it.
Likewise.
If I want a data object, I usually also want methods. I
subclass custom so I can have this. At the very least, I want the
object initialised so I want .init(). Having to initial
to a
>> different method which then uses all of the properties to the final
>> processing. Not sure whether this is good programming style or not, but it
>> worked like I wanted and I think I'll be using something like this again
>> in
>> the near future. Then I saw
r not, but it
> worked like I wanted and I think I'll be using something like this again in
> the near future. Then I saw the CreateObject('Empty') command mentioned on
> this thread.
>
> Wouldn't that accomplish the same thing I did via NewObject with a
> pr
!
Paul
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Frank
Cazabon
Sent: Tuesday, January 30, 2018 2:13 PM
To: profoxt...@leafe.com
Subject: Re: Declaring variable as "Empty" ???
I've seen it used as a lightweight class.
http://f
On Tue, Jan 30, 2018 at 1:50 PM,
wrote:
> Never saw anyone declare a variable AS "Empty" before?
Declaring a variable AS a type has no programmatic effects, but it
does make Intellisense(R), based on the class definition, work for the
object.
--
Ted Roche
Ted Roche & Associates, LLC
http://www
On 2018-01-30 15:12, Frank Cazabon wrote:
I've seen it used as a lightweight class.
http://fox.wikis.com/wc.dll?Wiki~EmptyClass
Oh I've often used the Empty class as well; very useful. Just curious
why the declaration was as such. Penchant for correctness I guess.
___
I've seen it used as a lightweight class.
http://fox.wikis.com/wc.dll?Wiki~EmptyClass
On 30 January 2018 14:50:57 GMT-04:00,
mbsoftwaresoluti...@mbsoftwaresolutions.com wrote:
>Saw this today while looking for other stuff:
>https://www.screencast.com/t/PyvZvy53oZFu
>
>Never saw anyone declare
Still trying to think of why you would use it.
On Tue, Jan 30, 2018 at 12:50 PM, <
mbsoftwaresoluti...@mbsoftwaresolutions.com> wrote:
> Saw this today while looking for other stuff:
> https://www.screencast.com/t/PyvZvy53oZFu
>
> Never saw anyone declare a variable AS "Empty" before? I guess th
Saw this today while looking for other stuff:
https://www.screencast.com/t/PyvZvy53oZFu
Never saw anyone declare a variable AS "Empty" before? I guess that's
basically this: loMenuItem = CREATEOBJECT("Empty") (although you'd
still have to write that code, of course, since no instantiation
10 matches
Mail list logo