Thanks I already came across this document but didnt see which option would
help me achieve what I want. I was looking more for an environmental
variable that would affect the behaviour of _all_ the existing programs
without having to do an IOCTL after every OPENSEQ in every subroutine. If
there is an IOCTL option that does what I want, it would only help me in
situations where there are multiple READSEQs to the same file in the same
routine.

On 29 March 2010 17:23, Daniel Klein <[email protected]> wrote:

>
> http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/adv12_SEQUENTIAL.FILE.EXTENSIONS.htm
>
> <http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/adv12_SEQUENTIAL.FILE.EXTENSIONS.htm>Dan
>
>
>
> On Mon, Mar 29, 2010 at 7:50 AM, MarcoM <[email protected]> wrote:
>
>> Is there a way to tell jBASE to discard the CR (CHAR(13)) at the end
>> of the line if the file being processed was ftp'ed from DOS in binary
>> mode?
>>
>> I have hundreds of programs to migrate from UV to jBASE with
>> constructs like this:
>>
>> LOOP WHILE READSEQ LINE FROM FILE
>> *  do something with the LINE
>> REPEAT
>>
>> Im changing in jBASE to this:
>>
>> CR = CHAR(13)
>> LOOP
>>   READSEQ LINE FROM FILE ELSE BREAK
>>   CHANGE CR TO "" IN LINE
>> *  do something with the LINE
>> REPEAT
>>
>> UV will give the same output regardless of whether the file is
>> terminated with LF or CRLF and Im wondering if jBASE has a switch
>> (perhaps an environment variable or some IOCTL option) to achieve the
>> same.
>>
>> Thanks for any help
>>
>> --
>> Please read the posting guidelines at:
>> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>>
>> IMPORTANT: Type T24: at the start of the subject line for questions
>> specific to Globus/T24
>>
>> To post, send email to [email protected]
>> To unsubscribe, send email to [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/jBASE?hl=en
>>
>> To unsubscribe from this group, send email to jbase+
>> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
>> ME" as the subject.
>>
>
>   --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> To unsubscribe from this group, send email to jbase+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

To unsubscribe from this group, send email to jbase+unsubscribegooglegroups.com 
or reply to this email with the words "REMOVE ME" as the subject.

Reply via email to