Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Self-Printing VFP Source?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00821128
Message ID:
00821145
Vues:
22
>I just ran across this blog-text:
>
>
>"
>For years, we gave the same programming test to every developer.
>It was a straightforward test that required no setup or external
>knowledge from manuals. The candidates were asked to write a
>program that could print its source to the screen exactly,
>without performing any file input.
>"
>
>(http://www.iwebthereforeiam.com/programming/default.asp)
>
>Anybody care to try that with VFP? No file input, and no cursors. :)

If it's ran from a prg
lc_prg = PROGRAM(0)
? FILETOSTR(lc_prg + ".PRG")
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform