Results 1 to 5 of 5

Thread: Line breaks?

  1. #1
    Join Date
    Mar 2007
    Location
    Braga, Portugal
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Line breaks?

    I was wondering... How can you put a line break on a string? For like in the debug:

    SCAR Code:
    Writeln('(¯`·.¸¸.-> °º ' + '\n' + status + '\n' + ' º° <-.¸¸.·´¯)');

    It shows the \n, instead of parsing it as a new line. Can someone explain me what I am doing wrong?

  2. #2
    Join Date
    Feb 2006
    Posts
    433
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can't be done with WriteLn.

  3. #3
    Join Date
    Mar 2007
    Location
    Braga, Portugal
    Posts
    27
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  4. #4
    Join Date
    Jan 2007
    Location
    Toronto.
    Posts
    150
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yea I wanted to do something like this a while ago, you can't use char 13 because it just shows a box.

    SCAR Code:
    program New;
    begin
      WriteLn('My' #13 'new line.');
    end.

  5. #5
    Join Date
    May 2007
    Location
    baltimore, md
    Posts
    836
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    mayb make a writeln under it with the line you want below it

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. adding breaks
    By tazzin44 in forum OSR Help
    Replies: 9
    Last Post: 01-20-2009, 02:44 AM
  2. Prefix change breaks smart
    By man slaughter in forum RS has been updated.
    Replies: 22
    Last Post: 10-26-2008, 12:15 PM
  3. Cant figure out why it breaks my loop
    By Metagen in forum OSR Help
    Replies: 3
    Last Post: 04-24-2008, 04:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •