Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Comix 3.0 Reference Manual - <b>how can i convert from a .dbt to an .fpt?</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
How can I convert from a .DBT to an .FPT?

First, bring the database into use with the DBFNTX RDD (which understands
the current .DBT format).  Then use the COPY TO .. VIA statement.

The following short program example shows you how:

convert.prg:

    #include "cmx52.ch"                     && Must have this to get Comix
                                            && linked in

    function main()
        use \old\demo via "DBFNTX"          && Use the .DBT system
        copy to \new\demo via "COMIX"       && Copy to the .FPT format
    return nil

Link line (need to link with both DBFNTX and Comix, so cmx52.obj is
omitted):

    rtlink /stack:7168 file convert lib cmx52



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson