Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Posts
    114

    Quick TXT Question

    I need to add a return (new line) in a txt,is it "/n" or something like that?

    Also is there a method for replacing a particular line number in a txt?

    like, goto line 24
    if BLANK then
    WRITE TEXT
    else
    OVERWRITE TEXT
    end
    ?

  2. #2
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    A newline on Windows systems consists of a carriage return and linefeed, which can be represented in strings using: "\r\n".

    To replace a line in a text file, you might want to check out the TextFile.ReadToTable and TextFile.WriterFromTable actions.
    --[[ Indigo Rose Software Developer ]]

  3. #3
    Join Date
    Oct 2003
    Posts
    114
    Thanks Lorne

Similar Threads

  1. Quick Launch Folder
    By csd214 in forum Setup Factory 7.0
    Replies: 1
    Last Post: 01-03-2005, 12:43 AM
  2. Quick Question Showing Windows system time in AMS
    By slafta in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 11-25-2004, 11:36 PM
  3. hey corey i got a quick one question for ya
    By dj_flyer2000 in forum AutoPlay Media Studio 4.0
    Replies: 2
    Last Post: 04-06-2003, 01:00 AM
  4. Quick Build Question
    By labrat in forum AutoPlay Media Studio 4.0
    Replies: 2
    Last Post: 04-04-2003, 04:31 PM
  5. quick question on building
    By Ted in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 05-09-2000, 11:34 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