Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Proper Encapsulation Techniques?
Message
From
15/09/1998 10:16:22
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00131613
Message ID:
00136713
Views:
28
No.

I'd pass a structure and let the process iterate the structure. See the Iterator pattern in Design Patterns.

From a tactical VFP perspective, don't forget that you can
  DIMENSION RatFace( x)
  SCAN
    SCATTER NAME RatFace[i]
  ENDSCAN
... and pass an array structure to the porocess.




>SCATTERING a row to an object works great if you only need to pass a single row, but what if you need to pass multiple rows at a time? Would the best way be to scan through the data, scatter to an object, call the update method and then move to the next row and repete the process?
>
Previous
Reply
Map
View

Click here to load this message in the networking platform