Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compound Index
Message
 
To
17/08/1997 01:57:39
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00044576
Message ID:
00045214
Views:
46
>> i've seen some bad vfp, but most of it has been by bad clipper programmers
>> i've had to work with...
>
>Fairly true, the most of the bad fox comes from ex-clippers. The really
>worst one (i have it on my 5.25 floppies somewhere in cenosoic) was
>doing it like this.
>do while .t.
> if some_condition=1
> @ 1,1 say "some prompt"
> @ 1, 15 get some_var
> Read
> do case
> case readkey()...
> endcase
> if some_condition=2
> @ 3,1 say "another prompt"
> @ 3, 15 get another_var
> Read
> do case
> ....
> endif
>endd
>
>Sounds a bit ex-cobol, eh?

Dragan, that sounds like 1985-era code when there was no VALID method in either Clipper or Fox. If you wanted to validate a field at data entry that was the only way to do it.

Of course it might be 1997 code with a 1985 PROGRAMMER ;-) We've ALL rewritten that kind of project.

Barbara
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform