home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
s
/
super25n.zip
/
START.DOC
< prev
next >
Wrap
Text File
|
1993-01-05
|
4KB
|
122 lines
┌───────────────────────────────┐
│ SuperLib 2.50 │
│ For Clipper S87 and 5.01 │
│ ------------------------- │
│ copyright 1990 │
│ Garry A Prefontaine │
└───────────────────────────────┘
Getting started
---------------
SuperLib comes with two library files:
SUPER.LIB is for use with Summer 87 Clipper
SUPER5.LIB is for use with Clipper 5.01
The simplest approach is to think of SUPER.LIB (or SUPER5.LIB) in the same
way you think of CLIPPER.LIB and EXTEND.LIB. SUPER.LIB contains functions
which may be called by your programs. Think of these functions just
as you would the functions in the Clipper manual. The LINKER needs to know
where to find these functions, thus you need to tell it to look in SUPER.LIB
(or SUPER5.LIB).
There really is not much more to it than that. The Clipper Source code and
C source code are provided in the registered version - but are not needed
unless you intend to MODIFY or recompile something.
All you really need to get going is either SUPER.LIB or SUPER5.LIB.
Initialization
--------------
SuperLib 2.5NW uses a few global (public) variables, for colors, system
file names and paths, etc.
You should call INITSUP() at your top level program, to get the global
variables declared and available. INIT.DOC goes into more detail regarding
initialization, but all you really need to know to get started is to call
INITSUP() at program start.
Colors
------
Be sure to read COLORS.DOC to get a grasp on how SuperLib colors
are implemented, if you wish to change the default color setups.
'Unresolved External' message from linker
-----------------------------------------
If you get 'Unresolved External' messages from your linker, be sure you
are either: a) referencing SUPER.LIB before EXTEND.LIB or b) using
SEARCH instead of LIB with your linker.
Clipper 5.01
------------
If using Clipper 5.01, be sure you are linking SUPER5.LIB and not SUPER.LIB,
or you'll get lots of errors!
SuperLib 3.0
------------
SuperLib 3.0 is available for thos who want Clipper 5.01 optimization.
SuperLib 3.0 also comes with close to 200 additional functions. See
SUPER30.DOC for details.
Linking with Super.Lib
----------------------
Where <program> refers to your OBJ file(s) ,<other libs>
refers to other Libraries you may wish to use. SUPER.LIB is
the S87 version, SUPER5.LIB is the Clipper 5.0 version.
Note: not all linkers are covered here. My preference
is BLINKER or RTLINK
1. BLINKER
Command line:
BLINKER FI <program> LIB super
Link File:
Here is the link file I use with Blinker, calling like so:
BLINKER FILE <file> @BLINK.LNK
where BLINK.LNK contains:
BLINKER EXECUTABLE CLIPPER V10;R24;E0;F21
BLINKER MEMORY PACK 15
# put other .objs for the root here
BEGINAREA
ALLOCATE SUPER
ALLOCATE EXTEND
ENDAREA
LIBRARY CLIPPER
I have seen some odd problems caused by using the
CL???MIN.LNK, CL???MID.LNK,CL???MAX.LNK
supplied with Blinker 1.5. If you are using one of these
and having problems, try just a regular link,
ALLOCating EXTEND.LIB.
2. RTLINK (Clipper 5.01)
RTLINK FILE <program> LIB <other libs>,super5
*past a certain point (size), the linkers below will not work
with SuperLib.
3. Turbo Link (Tlink)
TLINK <program>,,,clipper+extend+<otherlibs>+super
4. Microsoft Link
LINK <program>,,,clipper,extend,<other libs>,super /NOE /SE:512
5. Plink86
PLINK86 FILE <program> SEARCH clipper, <other libs>,super,extend