Backslash in code

Fairlight fairlite at fairlite.com
Thu Jun 8 20:46:38 PDT 2017


On Thu, Jun 08, 2017 at 08:35:32PM -0500, Mike Schwartz via Filepro-list thus spoke:
>      Backslash has a special meaning in Unix display strings.  Backslash means: ignore the "special formatting function" of the character that follows.   So the first backslash tells Unix to ignore the special function of the next character that follows, so the 2nd backslash will print just like any other non-special control character would.

On the interpretive side, yes.  On the -display- side, no.

If he were trying to do "\" I would easily see it needing to be "\\". Using
CHR(), though?  Notsomuch.  What is interpolating the CHR() result in the
concatenation he had?  It's a straight string concatenation.  That's not
something I'd consider intuitive.

Wait, is MSGBOX itself doing interpolation?  Then it would all make sense.

mark->
-- 
Audio panton, cogito singularis.


More information about the Filepro-list mailing list