Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro 1.01 Is it Y2K compiant?
Message
De
20/01/1999 10:58:04
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00177150
Message ID:
00178020
Vues:
45
>There was another program I came across where (after DTOS() was available, I'm pretty sure), the programmer made an index on SUBSTR( DTOC(), ...) such that they ended up with YYMMDD on purpose. Obviously NOT Y2K compliant. (There was so much wrong with that program ... but I was only allowed to change things which were specifically Y2K bugs.) Maybe they made that index before DTOS was available. The program was written in FP1.02 if not FoxBase. (I think DTOS was in 1.02, but not FoxBase, right?) They used idx files, it was pre-CDX. Of course they also only opened each index when they needed it, and did a reindex command every time they changed index so it'd be up to date... That program was a joy to behold!

I think that DTOS() was "invented" just because DTOC(dDate,1) (which yields the same result) was hard to notice, and very few people used it. Dtoc(dDate,1) existed at least two versions before DTOS(), if not as early as FoxPlus.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform