yeah, mstate is only 2 chrs wide so I didn't trim it.. there we go, the + sign. Knew it was something silly,
I like your code better. I just learned the old way because I did it back in the late 80's when that was how you did it. thanks, Virgil On Wed, Jan 21, 2015 at 10:59 AM, Jean MAURICE <[email protected]> wrote: > First, mstate is not RTRIMMED ! > > And you could write less code, and more efficient, and more readable, with > > > USE us_cities ALIAS cities ORDER TAG cities IN 0 > SELECT 0 > USE h-1b_fy14_q4 ALIAS mastfile > SCAN ALL FOR ; > SEEK(RTRIM(mastfile.lca_case12)+ ; > RTRIM(mastfile.lca_case13)) > mlat = n3 > mlng = n4 > ENDSCAN > RETURN > > The Foxil > > > [excessive quoting removed by server] _______________________________________________ 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/capuy6vnbjryqjcgm8sgf7-sfx_1ktzsxubihebgcispm2f+...@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.

