Grigore Dolghin wrote: > It was introduced in VFP9 - it means Inline Case. Ideal for cases in Select > commands. If you're using a lower VFP version you'll have to stick to old > good DO CASE. > > ----- Original Message ----- > From: "Garry Bettle" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, January 03, 2008 10:30 PM > Subject: RE: Send text file to default printer > >> Hi Dave, >> >> Hope this email finds you well. >> >> Sorry to trouble you, but can you explain what lcase means?: >> >> >>> errorDesc = Icase(nStat=2,"Invalid path or filename", ; >>> >> Cheers, >> >> Garry >> Garry, Grigore
ICASE is like IIF and is a function - so, Grigore, if you're using a lower version of VFP you cannot use DO CASE instead of ICASE - instead you must use nested IIFs (which can be a real PITA) ICASE can be great for use in SetAll statements for, e.g., setting grid highlighting ... Paul Newton _______________________________________________ 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.

