|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
#1
|
||||
|
||||
How to ensure read_file reaching end on each line?
In OSDD macro, READ_LINE will take only maximum of 1023 characters. Probrlem arises when 1 line of text is longer than 1023 characters.
1. Can anybody recommend a way, ensuring macro always read till end of each line (regardless # of characters)? 2. Is a string variable also limited to hold certain # of characters? |
#2
|
||||
|
||||
Re: How to ensure read_file reaching end on each line?
Quote:
I found that a string variable is limited to hold 1023 characters. DISPLAY is also limited to the same # of characters as well. But, is there a way to hold/display >1023 characters in a single variable? |
#3
|
|||
|
|||
Lim,
You describe a most unusual situation. Does this have anything to do with reading unix formatted text in a windows/dos environment? If so, the solution is to convert the text to dos first. Other than that, you will probably have to use a programming tool like VB, Delphi, C++, Pascal, etc., and read in the file one character at a time until you find the LF/CR characters. It's a slower process, but gives you more control. Good Luck |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|