Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPLace .... or SCAN ....
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
REPLace .... or SCAN ....
Miscellaneous
Thread ID:
00700335
Message ID:
00700335
Views:
52
Hello Foxperts,

Is the following code 'proper'?
REPLACE reprints WITH reprints+1 FOR flagged="P"
REPLACE flagged WITH "O"  FOR flagged="P"
or should I do this:
SCAN FOR flagged="P"
  REPLACE reprints WITH reprints+1, flagged WITH "O"
ENDSCAN
Any comment and critique gratefully accepted.
Randy Bosma
VFP - Because life is too short to code in something else...
Next
Reply
Map
View

Click here to load this message in the networking platform