>SELECT myTable
>SCAN
> SKIP -1
> lcPrev = mytable.field
> SKIP 2
Yes, it works. SCAN just issues a SKIP when it hits ENDSCAN, and has no memory of where it was before. IOW, you can cause an infinite loop with:
SCAN
SKIP -1
ENDSCANErik Moore
Clientelligence