Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalString PalStrPad( SalString sValue, SalNumber nLength )
The PalStrPad method appends space characters to the string to make it of a certain length.
Name | Description |
---|---|
SalString sValue | The string which should be appended. |
SalNumber nLength | Desired length of the string after space characters have been added. |
The return value is the appended string.
! Write all records to the file in 80 character format While DbFetchNext( hSql ) Set sRow Set sRow = PalStrPad( sAccountNo, 10 ) || PalStrPad( sDate, 15 ) || PalStrPad( sNotes, 75 ) Call SalFilePutStr( hFile, sRow )