Getting Started
Chapter Updated 1/29/99
Class | Basic Description | How Used | Old Class Name |
---|---|---|---|
xbXBase | Basic Xbase Class | Every program gets one of these | XBASE |
xbDbf | Database and Field class | Need one of these for each open DBF file | DBF |
xbNdx | Ndx index class | Need one of these for each open NDX index | NDX |
xbNtx | Ntx index class | Need one of these for each open NTX index | |
xbString | String class | Used for handling strings | |
xbHtml | Html generation class | Needed for creating HTML code | HTML |
Type | Description | Old Type |
---|---|---|
xbULong | unsigned long int | ULONG |
xbUShort | unsigned short int | USHORT |
xbShort | short int | |
xbLong | long | LONG |
xbFloat | floath | FLOAT |
xbDouble | double | DOUBLE |
char | char | CHAR |
void | void | VOID |
struct SCHEMA | Used for defining record structures |
Directory | Description |
---|---|
/usr/local/xbase | Xbase source code |
/usr/local/xbase/samples | X-Base samples |
/home/me/MyProject1 | Your first project |
/home/me/MyProject2 | Your second project |
Directory | Description |
---|---|
c:\xbase | Base Directory for Xbase |
c:\xbase\src | Xbase source code |
c:\xbase\samples | X-Base samples |
c:\xbase\bin | Xbase utility programs |
c:\xbase\MyProject1 | Your first project |
c:\xbase\MyProject2 | Your second project |
OPTION | DESCRIPTION |
---|---|
XBASE_DEBUG | XBASE_DEBUG can be used during application development. To generate smaller and faster production executable programs, comment this define out before building the Xbase library. This option generates debugging logic. |
XB_HTML | Turns on the option for the HTML generation class. |
XB_INDEX_NDX | This define compiles in support for NDX indexes. Comment this line out to drop support for NDX indexes. This define automatically enables expression processing. |
XB_LOCKING_ON | Needed for multi user configuration. It is safe to remove this option for single user environments. DOS/Windows support is at alpha level and needs a volunteer to test it. |
XB_MEMO_FIELDS | This define compiles in support for memo (variable length) fields. |
XB_DBT_BLOCK_SIZE | This defines the default block size to use when creating memo .DBT files. It must be an increment of 512 bytes. The maximum block size is 32256. |
XB_EXPRESSIONS | Used for expression logic, required for index keys. |
XB_CASTELLANO | Date routines return Spanish names for days,weeks and months |
OPTION | DESCRIPTION |
---|---|
--without-xbase-debug | Turns off xbase debugging code |
--without-index-ndx | Turns off NDX index options |
--without-memo-fields | Turns off memo fields |
--without-expressions | Turns off expression processing |
--without-ui-html | Turns off HTML user interface class |
--without-xbase-locking | Turns off xbase locking |
--without-xbase-debug | Turns off debug logic |
--without-exceptions | Turns on exception processing |
--with-castellano | Turn on castellano date options |
(c)1997 StarTech