Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modify file's timestamp
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00278899
Message ID:
00278937
Vues:
15
>>>I thought I remembered a Foxtools function that would let me modify a file's timstamp. "Touch()" or something. But I can't find it now. Anyone care to refresh me?
>>
>>Hi Erik,
>>
>>Cetin's right it's FoxTouch(). Check the Extended Foxtools Help file for documentation.
>
>Got it. Thanks George. Out of curiosity, how did you extract all that info out of FoxTools?

Hi Erik,

Hard work, elbow grease, and hacking.:-) Seriously, a lot of the functions that weren't included in the help file that comes with VFP map to counterparts in the VFP API. It was Rick Strahl who pointed that out to me. So that was one source of information.

Some of it, literally I had to hack. Look at the VFP API docs, and where they had a structure, try to figure out how that was implemented. Blew VFP up more than once, I assure you< g >.

I had to do a DISPLAY STATUS TO < filename >, in order to get the spelling correct for many of the functions. _WFindTitl() in foxtools in _WFindTitle() in the API, for example.

In the initial release, I had missed FoxTouch(), in fact. I got an email from my buddy David Frankenbach, who not only pointed that out to me, but also pointed me to the official documentation.

When VFP 6.0 came out, there were 3 new functions added. I couldn't find anything on them until Christof Lange, asked me if I was going to add them. I when I told him that I didn't know of a doc source, he pointed me towards one.

So it's more than just my work. A number of UTers contributed directly and indirectly to it. They're all acknowledged in the file.

In case you're wondering why someone would sit down and write about 150 pages of documentation, it was simply something I wanted to do. I wondered what was in there that could potentially be useful besides what's in the official documentation. I wanted also to correct some errata that was in the official docs. I also wanted to be able to quickly an easily reference it in case I needed it. The going through the official docs, well...More than anything else, I guess it was a labor of love.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform