Used sparingly, macros are very useful. Their disadvantage is that they make debugging almost impossible, as your INLIST problem demonstrates. Laurie
On 22 May 2015 at 21:44, Allen <[email protected]> wrote: > Thanks for the explanation Ted. At least I know for future. And yes Macros > are magic. I miss them in c# > Al > > -----Original Message----- > > > Almost. VFP compiles once, but a macro is a very special, > bordering-on-magic, in-place immediate compile: at the point when the > line is to be executed, VFP evaluates the current value of tlist, > executes/evaluates that, and puts that in the INLIST function, > effectively having to compile the whole line to figure out what that > means, and that's what throws the error. > > > [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/CAMvTR9cs6m_iCokUi6=1tt_rfuxmxk8ptyxqnycu8ng92ry...@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.

