Results 1 to 5 of 5

Thread: File linebreak characters

  1. #1
    Join Date
    Oct 2006
    Location
    I'm a figment of your imagination
    Posts
    422
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default File linebreak characters

    I have a script, and I want it to read lines from files. So far so good, I figured out how to do that. However, when I create a textfile using notepad, the linebreak seems to consist out of two characters. One is #13, the other one is unknown to me.

    Anyone know what the other character at the end of the line is?

    EDIT: W00t, 100th post!

    It's been a while... but I'm BACK!!!

  2. #2
    Join Date
    Feb 2006
    Location
    London, England
    Posts
    2,045
    Mentioned
    2 Post(s)
    Quoted
    0 Post(s)

    Default

    Does it look like a square?
    That is still Chr(13)
    SRL Wiki | SRL Rules | SRL Stats
    Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!


    Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!


  3. #3
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Chr(10) and Chr(13)



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

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

    Default

    Quote Originally Posted by Wizzup? View Post
    Chr(10) and Chr(13)
    Chr(13) + Chr(10);


  5. #5
    Join Date
    Oct 2006
    Location
    I'm a figment of your imagination
    Posts
    422
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks a lot! This really helped me .

    It's been a while... but I'm BACK!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 1 sec Ago Bug i see a characters(very BIG)
    By ShowerThoughts in forum SRL Site Discussion
    Replies: 5
    Last Post: 03-03-2008, 05:43 PM
  2. Duplicate characters
    By jdumber2k in forum Bot Information and Spottings
    Replies: 17
    Last Post: 09-28-2007, 03:53 PM
  3. Can all your characters get banned?
    By yachibu in forum News and General
    Replies: 3
    Last Post: 09-12-2006, 01:51 AM

Posting Permissions

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