Some comments for those old codes:

1. There is no need to "go top" when doing a SCAN, unless you
    are trying to SCAN WHILE.
2. There is no need to "sele tsheets" before ENDSCAN as SCAN remembers
the table alias.
3. A "IF FOUND()" should follow SEEK/LOCATE

On Sat, Jan 10, 2015 at 5:43 AM, Sytze de Boer <[email protected]> wrote:
> sele tsheets
> go top
> scan
>    sele stocks
>    seek tsheets.stcode
>    replace timesheets with timesheets+tsheets.qty
>    sele tsheets
> endscan

-- 
 .~. Might, Courage, Vision. SINCERITY!
/ v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3)
/( _ )\ http://sites.google.com/site/changmw
^ ^ May the Force and farces be with you!

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/CAGv=mjap-+aj7mnbtvjs4trq++xtopyqprm0tvvnul9qijf...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to