Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Computer science degree and Foxpro
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00243740
Message ID:
00245392
Views:
15
>You ... Work? Why, I'm shocked, shocked! :-)

Hmm, does my reputation precede me?

>I don't do much with recursion, enought to know it can really get you into trouble. :-) But this all sound really interesting and I'll be looking forward to seeing it when you can get around to it.
>
>Thanks George.

You're welcome, Bill. Somethings have come up that have to be done today, so I may not get to it. I was having a problem in the logic of the pointers, before I got pulled away. So, I don't know if I'm going to make it.

Recursion, however, is, in some cases, the easiest way and best way to solve a problem. I first used it in Fox to calculate electric utility costs, which are based on a first 10,000 KWH, next 100,000, above basis. It was a lot shorter and more readable than a long series of IF...ENDIF statements.

Most recently, I used it to calculate absolute coordinates (in relation to the form) of objects on it. Since this coordinates are relative to the container, this seem to be the most efficient method to retrieve the top and left positions.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform