John Matthews wrote: > --- In [email protected], "bo" <[EMAIL PROTECTED]> wrote: >> Here is the code. In the section on function for inputing sales here >> is the error message:line 37: lexical: unknown escape sequence `\P' >> 'printf ("n\Please enter a valid amount\n")' >> >> What does Lexical: mean? >> >> printf ("n\Please enter a valid amount\n"); > > It's just that it should be "\nP... not "n\P... > > The \ character is used to obtain special control codes ('escape > sequence') in C strings; \n is the 'new line' code. But \P isn't a > valid code, hence the compiler warning. > > John
Probably refers to the "lexical parser". http://en.wikipedia.org/wiki/Lexical_analysis -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
