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

RE: [sqr-users] curious flat file behavior



When you read a variable from a flat file (fixed or vary), SQR automatically
trims the trailing spaces.

-----Original Message-----
From: the dragon [mailto:ceprn@hotmail.com]
Sent: Friday, July 25, 2003 12:18 PM
To: sqr-users@sqrug.org
Subject: RE: [sqr-users] curious flat file behavior


fixed



PSA: Salary <> Slavery.  If you earn a salary, your employer is renting your

services for 40 hours a week, not purchasing your soul.  Your time is the 
only real finite asset that you have, and once used it can never be 
recovered, so don't waste it by giving it away.

"Time is the coin of your life. It is the only coin you have, and only you 
can determine how it will be spent.  Be careful lest you let other people 
spend it for you."

Carl Sandburg
(1878 - 1967)

----Original Message Follows----

Did you open the file as fixed or vary?

Richard Knapp
Database Programmer/Analyst
Institutional Research and Planning
University of Missouri System
573-882-8856
knappr@umsystem.edu


-----Original Message-----


Hi all. I have a flat file (attached) that is acting strangely. The size is
300 characters. When I read the flat file in, and there is a character in
the last space (number 300) everything works correctly (see A below) but if
there are only spaces until the end, my substr does not get the spaces (see
B below) Any ideas? BTW, this looks much better in fixed font....

I have never seen this happen before.

thanks in advance
clark 'the dragon' willis

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users