Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I obtain the user name?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Novell 6.x
Divers
Thread ID:
01123025
Message ID:
01123265
Vues:
18
>Naomi,
>
>AFAIK, they are indeed identical. ID() is a newer function. I prefer to use it because when I see it in code there is a better chance that I'll remember what ID() means than me remembering what SYS(0) means. I once wrote a tight little function using several SYS() functions. Later when I had to modify some of that code, I had to spend quite a bit of time in the help file trying to decifer what I had done. Since then, I try to use alternatives to the SYS() functions whenever possible (and ID() is an excellent example of that) and I also document my code much better. ;)
>

Ok, that's valid reason. However, I guess I leave our current function intact, but will keep this new function in mind.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform