Thanks guys.. I had a hazy recollection that it was related to work 
areas when I posted it, but wanted to get full clarification.. :)

Luckily I never use single letter vars in real code, but I was being 
lazy about testing out some class code methods in the class' prg 
itself, and I got busted.. LOL!

-Steve


At 02:16 PM 02/22/2011, you wrote:
>On Tue, Feb 22, 2011 at 2:12 PM, Steve Ellenoff <[email protected]> wrote:
> > I'm sure someone has a rational explanation for this odd behavior??
>
>By Design <s>.
>
> > If I run the following code it fails with a syntax error on the
> > method call, but if I use the variable x or y, for example it works
> > just fine as expected. Other vars that failed were a,b,c,d,f.
> > I didn't try any other than those..
>
>Single letters are assumed to be aliases for work areas a through j.
>Don't use them as objects. For that matter, don't use them as work
>areas, either, aliases are much better ways to refer to tables and
>cursors.
>
>--
>Ted Roche
>Ted Roche & Associates, LLC
>http://www.tedroche.com
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** 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