[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: READ command in SQR 3 vs. 4



I am already doing this.  It's the blanks at the end of the record that I
need!  As a little more background, the file that I'm reading consists of
encoded data and I need to preserve all the blanks in order to decode
properly.

 I would appreciate any other ideas that you have.






Albert Howard <starbukk@concentric.net> on 09/22/98 09:40:05 AM

Please respond to SQR-USERS@USA.NET

To:   Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
cc:    (bcc: John A. Walker/CEI/FirstEnergy)
Subject:  Re: READ command in SQR 3 vs. 4




Read the entire record into one variable and use a let $var = substr(...)
command populate the individual fields. Then you get everything.
At 07:37 AM 9/22/98 -0400, you wrote:
>In SQR Ver 3.0 the manual states when using the READ command, "after being
>transferred, trailing blanks in the variable are omitted".  This is
causing
>me some heartburn as I need to preserve all the characters in the file
that
>I am reading in.  Does this same problem occur in SQR Ver 4?  Has anyone
>else hit this problem and developed a workaround?  I thought of using the
>length function but I don't know how long the string should be in order to
>determine if the blanks have been removed.  Thanks in advance for your
>help.
>