Quiz text file width

Pete Foulkes petefoulkes@powersoft-services.co.uk
Thu, 25 Apr 2002 17:42:39 +0100


Hi Chris :

Create a portable subfile with a defined item of the size you require and
rename it afterwards in the operating system if necessary. This will write
away a flat record which will always be the same width. You might have to
watch the format for numerics : it may be best to have a single defined item
as a character where all of the preparation is done in PowerHouse. 

I have also used this successfully when the record width I want to write out
has been wider than 256 characters.
Hope this helps : my experience with this has been on UNIX so can't
guarantee what happens on other platforms.

Good luck

Thanks 
Pete Foulkes. 
Support Manager. 
Powersoft Computer Services Ltd. 
mailto:petefoulkes@powersoft-services.co.uk 
Switchboard 01293 562730    
Technical Support 01293 649660 
Fax  01293 522006 
-----Original Message-----
From: Gassett, Chris [mailto:Gassett@aavid.com] 
Sent: 25 April 2002 17:18
To: 'powerh-l@lists.swau.edu'
Subject: Quiz text file width


I am creating a text file with Quiz that needs to be 80 characters wide.
The data may not fill that 80 characters but the field needs to be displayed
as 80 characters wide.  When I vi the file after the quiz has executed those
records that do not fill the 80 characters are really not 80 characters
wide.  How do I go about creating a txt file that stays 80 characters wide?
I could dump out a char at 81 and use a unix script to strip that character.
Any other suggestions?
PowerHouse  8.13.D3 

_____________________________________________________________________
This message has been checked for all known viruses by the MessageLabs Virus
Scanning Service.

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.