home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 April B
/
Pcwk4b98.iso
/
Borland
/
Dbase50w
/
SAMPLES2.PAK
/
EQUIPMNT.H
< prev
next >
Wrap
Text File
|
1994-08-02
|
1KB
|
39 lines
*******************************************************************************
* FILE: Equipmnt.h
*
* WRITTEN BY: Borland Samples Group
*
* DATE: 1/94
*
* UPDATED: 7/94
*
* REVISION: $Revision: 1.6 $
*
* VERSION: dBASE FOR WINDOWS 5.0
*
* DESCRIPTION: Header file for Equipmnt.prg
*
* PARAMETERS: None
*
* CALLS: None
*
* USAGE: #include "Equipmnt.h"
*
*******************************************************************************
*** Preprocessor directives
#define ALLTRIM(x) ltrim(rtrim(x))
#define FIELDLIST "flight_no,origin,dest,date,departure,arrival,price"
* Fonts
#define ARIALFONT fontName "Arial" ,fontSize 20
#define ARIALBFONT fontName "Arial",fontSize 12,fontBold .t.
#define SERIFBFONT fontName "Serif",fontSize 15,fontBold .t.
* l = form length
#define PB_ROW(l) (l - 3)
* w = form width,p = pb prompt, t = total # pb's, n = # of current pb
#define PB_COLUMN(w,p,t,n) ;
(1+(int((w-2-((t*(len(p)+4))+t-1))/2)+((n-1)*(len(p)+5))))