Menu

#96 Method of escaping $\r, $\n and $\t

2.0 Series
open
nobody
Scripting (152)
3
2003-09-01
2003-09-01
Anonymous
No

Hello --

I've got the following script:
DetailPrint '$$\tHello World'

On Beta 3 it outputs this in the details list:
'$\tHello World'

However, on Beta 4, this outputs:
'${tab}Hello World'

I also get the warning:
unknown variable "{tab}Hello" detected, ignoring

[Where {tab} is an ASCII tab character]

This would be consistent with the Unix-style back-slash
escapes, however when I try this script:
DetailPrint '$$\\tHello World'

I get:
'$\\tHello World'

Thanks for your help.

Keep up the good work!

Alex

Discussion

  • Nobody/Anonymous

    Logged In: NO

    My e-mail address is:
    alex@home.cam.net.uk

    Sorry

    Alex Allan

     
  • Amir Szekely

    Amir Szekely - 2003-09-01
    • labels: 458222 -->
    • milestone: 237677 -->
     
  • Amir Szekely

    Amir Szekely - 2003-09-01

    Logged In: YES
    user_id=584402

    Beta 3 didn't have tab support. Tab is represented in b4 by
    $\t, not just \t. Just like $\r and $\n.

    I am moviong this bug report to the feature request list as a
    request for support to $$\t or some other way to make the
    pre-processor not process $\t.

     
  • Amir Szekely

    Amir Szekely - 2003-09-01
    • labels: --> Scripting
    • priority: 5 --> 3
    • summary: $$\t Being interpreted wrongly in Beta 4 snapshots --> Method of escaping $\r, $\n and $\t
     
  • Amir Szekely

    Amir Szekely - 2003-09-01
    • milestone: --> 2.0 Series
     

Log in to post a comment.