....and a secondary beneficial effect of PRG based classes, is that they
are better for using with SCM/DVCS tools and you don't need to do
conversions :)



2015-06-05 13:54 GMT+02:00 Kevin Cully <[email protected]>:

> Hello Laurie,
>
> I'm glad that you're finding the wrapper class useful.
>
> In regards to calling "THIS.IsDirectory", that should be valid. This is a
> PRG based class (check the DEFINE ... ENDDEFINE) so if you instantiate the
> class (see example call at the top) with a "loCompression =
> CREATEOBJECT([CTCompression])" , then within the class itself the methods
> (defined as FUNCTIONs) can make a call "lSuccess = THIS.IsDirectory([{some
> prospective directory}])".  If you want to check the directory with a call
> from outside of the class you can call "lSuccess =
> loCompression.IsDirectory([{some prospective directory}])".
>
> I really like PRG based classes as they make it much easier to use with
> source code control such as Git or Mercurial.
>
> -Kevin
>
> CULLY Technologies, LLC
> http://cullytechnologies.com
> http://cully.biz
>
>
> On 06/05/2015 07:21 AM, Laurie Alvey wrote:
>
>> Hi Kevin,
>>
>> I grabbed your ctCompression.prg from the archive and found that in a
>> couple of places you call the IsDirectory method without "THIS.". I fixed
>> it in my copy but thought you ought to be aware, Great work!
>>
>> Laurie
>>
>> On 4 June 2015 at 22:32, Rafael Copquin <[email protected]> wrote:
>>
>>  Thanks to all
>>> I found it and solved my problem
>>> Rafael
>>>
>>>
>>> El 04/06/2015 a las 16:23, Kevin Cully escribió:
>>>
>>>  I posted a wrapper class of Craig Boyd's VFPCompression to make it
>>>> easier
>>>> to get the syntax right.
>>>>
>>>> http://leafe.com/dls/vfp
>>>>
>>>>
>>>>
>>>> On 06/04/2015 03:06 PM, Kurt Wendt wrote:
>>>>
>>>>  I swear that sounds like something that is available in the Downloads
>>>>> section of the ProFox forum. You might want to check there first.
>>>>>
>>>>> Just a thought...
>>>>>
>>>>> -K-
>>>>>
>>>>> -----Original Message-----
>>>>> From: ProfoxTech [mailto:[email protected]] On Behalf Of
>>>>> Rafael Copquin
>>>>> Sent: Thursday, June 04, 2015 2:59 PM
>>>>> To: [email protected]
>>>>> Subject: zip/unzip
>>>>>
>>>>> Years ago I had obtained a zip/unzip class from someone in this forum.
>>>>> It would zip the database,tables and index files and place the zip file
>>>>> in a folder. And then one could unzip the files back to the tables
>>>>> folder,
>>>>> all of this automatically.
>>>>>
>>>>> But I lost it and need something like that to include as a
>>>>> backup/recover routine in one of my programs
>>>>>
>>>>> Rafael Copquin
>>>>>
>>>>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
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/cagq_junv0dms2qg4ezaoqgggqk3vsko4p0+0lqtv9fxfhde...@mail.gmail.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.

Reply via email to