Backslash in code

James Flanagan James at Flantec.com
Fri Jun 9 04:52:32 PDT 2017


Thank you everyone for you help and information.  

the code that i submitted for this inquiry was just the most simple test code i could come up with.  what i was really trying to do was to get a system commend to export a windows path and filename to an output flle, which i have now done.

all i needed to do was the following:

::bs(2)=chr(“92”){chr(“92”):
::system noredraw “echo c^A”{bs{“Windows”{bs …..

Thank you again for your prompt and accurate responses.


James Flanagan
Flantec.com <http://flantec.com/>

email:	James at Flantec.com <mailto:James at Flantec.com>
mobile:	760-458-8498
home: 	219-221-6219
text:		7604588498 at txt.att.net <mailto:7604588498 at txt.att.net>

aim:		Flantec
oovoo:	Flantec
Skype:	Flantec
ichat:	Flantec at mac.com <mailto:Flantec at mac.com>

home:	1901 Cidermill Road
		Michigan City, IN 46360

> On Jun 8, 2017, at 11:46 PM, Fairlight via Filepro-list <filepro-list at lists.celestial.com> wrote:
> 
> 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.
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20170609/14f1c259/attachment.html>


More information about the Filepro-list mailing list