To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 13643
13642  |  13644
Subject: 
Re: Disappearing backslash? (was: parts i'd like to see in Lcad/MLcad)
Newsgroups: 
lugnet.admin.general
Date: 
Wed, 2 Aug 2006 19:38:23 GMT
Viewed: 
11000 times
  
In lugnet.admin.general, Travis Cobbs wrote:
> In lugnet.admin.general, Rene Hoffmeister wrote:
> > > In FTX mode, you have to use a double backslash to be guaranteed that it will
> > > show up: ldraw\\parts\\s.  I don't know why the single backslash shows up
> > > before the s, but not before the p.
> > > 
> > > --Travis
> > 
> > It doesn't matter whether there is additional text within a double backlash or
> > not: In FTX The first one is used to show the second one.
> > 
> > E.g. \ldraw\par\ts\s would become ldraw\parts\s too...
> 
> OK, now that's just plain weird.  So you're saying that every odd backslash will
> show up in an FTX post, no matter where they are, right?  I confess that I fail
> to see the reasoning behind this behavior.
> 
> It's worth noting that I couldn't find any mention of backslashes anywhere in
> the FTX documentation.
> 
> --Travis

Hi Travis,

sorry, but FTX/Perl isn't _my_ invention ;-)

I could imagine it has something to do with Perl (AYMK, LUGNET is based upon
Perl). The backslash in combination with a char is a so-called "control
character" in Perl and also used to generate other special characters (like the
backslash itself).

It's similar to HTML and the less-than-char < (or the greater-than-char >) for
tags. To really print them to the screen, you have to use &lt; and &gt;
respectively.

But it's just a thought.

Leg Godt!
Rene



Message is in Reply To:
  Re: Disappearing backslash? (was: parts i'd like to see in Lcad/MLcad)
 
(...) OK, now that's just plain weird. So you're saying that every odd backslash will show up in an FTX post, no matter where they are, right? I confess that I fail to see the reasoning behind this behavior. It's worth noting that I couldn't find (...) (20 years ago, 1-Aug-06, to lugnet.admin.general)

23 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR