Re: backslash-issues



On 2005-06-30, Clive Page <junk@xxxxxxxxxxxxxxxx> wrote:
>
>>CHARACTER(LEN=1), PARAMETER :: backslash='\\'
>
> While I'm not sure who thought of that first, I think I may have made
> that posting. I've certainly used it for some years on a variety of
> compilers and never found one where it didn't do the job. Unless
> someone else knows of a counter-example.

If you are trying to also keep your code F-compliant, than the above
trick does not work. The problem is in the len=1 which must become
len=* in F. And this breaks the whole idea of the trick...

Regards,
Bart

--
"Share what you know. Learn what you don't."
.



Relevant Pages

  • Re: Cant enter text into rich edit (not buffer size related)
    ... I should just immediately post these questions, ... inevitably figure out the answer just after posting! ... It was a trick being ... played in the message loop that was causing TranslateMsg not to be called. ...
    (microsoft.public.win32.programmer.ui)
  • Re: DAO and Access97 WHERE clause fails
    ... That did the trick. ... BTW, I had searched extensivly on line for the answer before posting, but ... was missing the obvious, stupid coding error. ...
    (comp.lang.python)
  • Re: low-level question
    ... I had this question years ago on a midterm and just seen it on a job ... posting. ... output a 0?", must be a trick. ... Prev by Date: ...
    (comp.lang.c)
  • Re: Compiling a console app
    ... That's an interesting trick. ... Thanks for posting it. ... but I haven't had any problems with moving projects to 2008 from 2005. ... but fails if I use the older 2005 one. ...
    (microsoft.public.vc.mfc)
  • XML export via BCP
    ... Exporting fully formatted XML with xsd or schema ... headers. ... The trick is the -c argument. ... I'm posting this here as I spent the morning looking for this ...
    (microsoft.public.sqlserver.programming)