Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recursive loop and SCAN
Message
 
 
To
26/07/2002 22:28:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00683191
Message ID:
00683193
Views:
25
>A SCAN on a recursive loop is done on a specific cursor. However, as it is recursive, it changes the position of the scan of any "in memory" recursions. So, the pointer of a specific "in process" SCAN is then affected by the next one. What is the proper way to resolve such an issue?

Hi Michel,

In general, for recursive code to work the variables should be local to the recursive function. A cursor is 'a global variable' in this case. Can you provide more info about what are you trying to do?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform