Results 1 to 3 of 3

Thread: Help With Output Files

  1. #1
    Join Date
    Aug 2009
    Posts
    164
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help With Output Files

    Does anyone know a way to make output files write on new lines? Everything i have tried to make a new line just shows up as weird symbols in the text files.

  2. #2
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Are you trying to save the contents of the debug box to a .txt file?
    If so, I found this in one of my old scripts, it might help you.

    SCAR Code:
    procedure SaveToTxt;
    var
      I: Integer;

    begin
      I := ReWriteFile(AppPath + 'SCRIPTprogressReport.txt', False);
      WriteFileString(I, GetDebugText);
      CloseFile(I);
    end;

  3. #3
    Join Date
    Aug 2009
    Posts
    164
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you! Just what i needed

Thread Information

Users Browsing this Thread

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

Posting Permissions

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