home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
wordproc
/
mpik15b.arj
/
CONVERT.MP
next >
Wrap
Text File
|
1993-02-26
|
763b
|
30 lines
! convert.mp - convert any format file to any format file
!
! Usage:
!
! mpik'r @convert <fmt-1> <file-1> <s1> <fmt-2> <file-2> <s2> <s3>
!
! Example 1: To convert a CSV file to an 80 character/record FXL file:
!
! mpik'r @convert csv dbase.csv , fxl dbase.fxl 80 0
!
! Example 2: To convert a 132 character/record FXL file to a DIF file:
!
! mpik'r @convert fxl data.fxl 132 dif data.dif 0 0
!
! Example 3: To convert a WKS file to a dBASE III file:
!
! mpik'r @convert wks realty.wks 0 dbf realty.dbf 3 C
In
^1 ^2 0 ^3
Esc
Pst _left _top _right _bottom R
Cwidth 0 13 0 ! set all column widths to widest cell...
Cwidth 0 13 1 R ! then increment them by one
Out
^4 _left _top _right _bottom ^5 ^6 ^7
Esc
Beep
Xit