Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stupid question
Message
 
 
To
13/04/2008 13:58:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01309268
Message ID:
01310319
Views:
14
>>Today I would use Keypress or Interactivechange. I used this approach long before OOP was implemented in VFP.
>>
>>BTW, "there are no stupid questions, only stupid answers".
>
>And then there's the magical word "doh" and the magical slap on the forehead ;).
>
>The stupid clause doesn't apply to this case, because many of the workarounds for bugs (in either Fox, VFP, DOS or any of them Windowses) may look really mysterious if you don't know what the bug was. The chr(255) was probably an internal way of messaging (IOW, I too don't really understand how it worked and why it was needed - I know mine didn't need it ;). Stuffing special characters into the keyboard buffer so they'd produce a special return value from readkey() was a technique which worked ever since FoxPlus, and only got additional values in FP. I now have trouble trying to understand my old code which used that, despite all the comments I wrote :).

I can't even understand my comments I wrote 3 weeks ago. I was working today on a code that I wrote only about 3 weeks ago and it took me about 5 minutes of reading my own comments over and over until I got it. I think writing good comments is like being a good writer in general. And only a few have this talent. (I am just trying to console myself <g>).
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform