Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCAN..ENDSCAN question
Message
From
12/01/2001 14:36:01
 
 
To
12/01/2001 14:31:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00463165
Message ID:
00463170
Views:
13
Hi!

Some commands in the SCAN command might cause your alias to move record pointer to the end. In such case need to remember record pointer at the start of its body and than restore it at the end of each loop step.

>Why does SCAN..ENDSCAN ends when I have a FOR…ENDFOR inside it?
>This is what I have:
>SCAN
>** read variables
>***COPY something to array
>*** FOR EACH
> *** do some SELECT statement
>*** ENDFOR
>ENDSCAN
>It does the first record and then exists the scan. Why does it do that?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform