?? mfpshare.doc
字號:
M F P 1
A Multiple Field Processor
and
Related Tools
for the
Professional Developer
Copyright 1990 by Jerome G. Kahn, All rights reserved
Produced Exclusively for Pride Software Advancement Corporation
3575 N.W. 31 Avenue Oakland Park, Florida 33309
* Turbo C is a registered trademark of Borland International.
* Lattice is a registered trademark of Lattice Inc.
* Microsoft is a registered trademark of Microsoft Corporation.
M F P 1
TABLE OF CONTENTS
PAGE DESCRIPTION
4 MFP1 License Statement
5 Installation
Data Entry and User Input Functions
7 Function: MFP
8 MFP Field Definition
9 MFP List
10 - 11 MFP Data Entry Picture Formatting
12 MFP Field Editing Keys
13 MFP Pre and Post Validation
14 MFP Procedure List
15 - 19 MFP Example Listing
20 - 24 MFP Example Listing Narrative
25 MFP Run Time Error Messages
26 Function: MENU
27 MENU Item Definition
MENU List
MENU Color
28 MENU Help Text
29 MENU Example
30 Function: PIC
31 Function: SCRN
32 Function: INKEY
33 INKEY Keyboard Usage
34 INKEY Definitions
35 Function: GETKEY
36 Function: FLUSH
M F P 1
TABLE OF CONTENTS
PAGE 2
PAGE DESCRIPTION
Data Entry and User Input Functions (continued)
37 Function: PAUSE
38 Function: FAST
Screen Output Functions
40 Function: COLOR
41 Function: CUP
42 Function: GETCUP
43 Function: PRINT
44 Function: SAY
45 Function: BIOPUTC
46 Function: ESHOW
Window Functions
48 Function: WINDOW_CREATE
49 Function: WINDOW_KILL
50 Function: WCLS
51 Function: BOX
52 Function: W_SWAP
53 Function: SCRSWP
Buffer Manipulation Functions
55 Function: ZERO
56 Function: FILL
57 Function: CRC & CRC32
Date and Time Functions
59 Function: DATE
60 Function: LDATE
61 Function: STR_JUL
M F P 1
TABLE OF CONTENTS
PAGE 3
PAGE DESCRIPTION
Date and Time Functions (continued)
62 Function: JUL_STR
63 Function: CAL_JUL
64 Function: JUL_CAL
65 Function: STRTIME
66 Function: TIME_NUM
Miscellaneuos Functions
68 Function: BRKOFF & BRKON
70 Function: SCRSAVE & NOSAVE
71 Function: SHOWCLOK & NOCLOK
72 Function: DELAY
MFP1 License Statement
This software is protected by both United States copyright law and
international treaty provisions. You, as a professional developer, know
better than any others what that means. You don't want your software
proliferated by others without any remuneration for your efforts any more
than we do. We ask that you respect our rights and in return we will pro-
vide you the best support and products to make you more productive.
This is a special shareware release of the complete MFP1 library.
You are required to register your copy with us at Pride if you wish to
distribute any software linked with the MFP1 library. You are NOT
authorized to remove or modify any copyright notices embedded in the
MFP1 library files and the resultant linkage.
To register your copy you MUST supply us with your name, mailing
address, day-time phone number, your compiler type and version, and
a check or money order for $25.00.
Please send your registration information to:
Pride Software Advancement Corporation
3575 N.W. 31st Avenue
Oakland Park, Florida
33309
Your check or money order must be made payable to Pride Software
Advancement Corporation.
You may consider yourself licensed on the date you register this
copy.
Source code is available directly from Pride for $159.00 plus 6% tax.
Include payment along with your registration if you want source and book.
Software that you write and compile using the MFP1 library may be
sold or given away without any additional license or fees.
LIMITED WARRANTY
We at Pride have made every effort to provide you with a bug-free and
well designed product. All features have been extensively tested.
We feel we are providing you with a mature and stable product. Nonetheless,
we cannot be held liable for any loss of profit or any other commercial
damage, including but not limited to, special; incidental; consequential;
or other damages. You, as the developer, are the ultimate responsibilty for
the integrity of your product.
In the event that you discover a bug in the MFP1 library, you are re-
quested to contact our programming staff at (305)731-1085. They shall
make every effort to resolve your particular problem.
GOVERNING LAW
This statement shall be governed, interpreted, and construed by the laws
of the State of Florida.
INSTALLATION
Installation is fairly straightforward, each library disk contains
all the libraries and header files for that type compiler. Each library
is named with its memory model as its suffix. There is only one header
file beacuse it is not memory model dependent.
The mfp.h header file should be copied into the directory where your
other header files are stored.
The MFPX.LIB files should be copied into the directory where you have
your other library files stored.
These are the only files you need to use MFP1. The other diskettes
contain the source and object files necesarry to modify MFP1.
Model Turbo C Lattice Microsoft
----- ------- ------- ---------
Tiny T N/A T
Small S S S
Compact C P C
Medium M D M
Large L L L
Huge H N/A H
DATA ENTRY AND USER INPUT FUNCTIONS
===============================================================================
MFP
===============================================================================
Function Multiple Field Processor.
Syntax void mfp( MFP *list, [ PROC *p_list ]|[ 0 ] );
Prototype in mfp.h
Remarks MFP scans the provided edit list to process a data
entry session. The order in which the list is layed
out is the order of field sequencing. Each field is
entered and processed individually so any combination
of character and numeric fields are permitted. Pre
and post field validation is possible by providing
the address of pre and post functions when defining
an entry field.
The pre and post validation functions can perform any
task the programmer wishes. Pre and post validation tasks
have access to all the variables concerning the data, its
location, picture, and color.
Character fields can be formatted by use of the picture
formatting string. Numeric fields are defined in length,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -