<<SAISUNIC col 1/8>

JM 

What is this command?

David Blocker


----- Original Message ----- 
From: "J.M. GRATIAS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 9:02 AM
Subject: Right padding with blanks when writing to a file


> 
> 
> >>
> Is there some method to write to a file from RBase for Windows 1.852
> and right pad the written record information out to a specified number of
> bytes with blanks?
> <<
> 
> Yes :
> 
> OUTPUT .vfich
> SET VAR vwrite TEXT = (SFIL(CHAR(32),330))
> SET VAR vwrite = (SPUT(.vwrite,'SAISUNIC',1))      -- SAISUNIC col 1/8
> WRITE .vwrite=330
> OUTPUT SCREEN
> 
> This will write a record in file .vfich.
> Record will contains SAISUNIC left justified.
> Length of the record will 330 bytes endind with spaces.
> 
> 
> J.M. GRATIAS, Logimatique, France
> ================================================
> TO SEE MESSAGE POSTING GUIDELINES:
> Send a plain text email to [EMAIL PROTECTED]
> In the message body, put just two words: INTRO rbase-l
> ================================================
> TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
> In the message body, put just two words: UNSUBSCRIBE rbase-l
> ================================================
> TO SEARCH ARCHIVES:
> http://www.mail-archive.com/rbase-l%40sonetmail.com/

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to