Subject to check if a table is exist and create one
From eric wu <ericwuu@hotmail.com>
Date Wed, 18 Oct 2017 12:33:28 -0400
Newsgroups dbase.getting-started


how to re-write these codes below to a modern object-oriented
programming codes? And to be able to work with a database alias.


1. to check if a table is exist
2. if not, create one.

thanks in advance!
Eric

        
   local f
   f = new file()
   if not f.exists( "c:\Issu.dbf" )
      Create Table  "C:\Issu.dbf"  ( Name char(20),  depType char(10) )
   endif
   f = null