Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Self-Printing VFP Source?
Message
From
30/10/2003 17:49:58
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00821128
Message ID:
00844760
Views:
17
>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. :)

Hi Steve, how about:
* Display this programs source code  
? _cliptext

* Any other code ...
  ...
  ...
You just need to press Ctrl+A Ctrl+C in the program edit window before running the program :)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform