home *** CD-ROM | disk | FTP | other *** search
- Clipper Project From: Howard Kapustein
- Memo #1: Syntax for contributed UDFs Date: 4/29/87
-
- To: All
-
- This is the format recommended for UDF contributions to the Clipper
- Project (CP). For those of you that don't know what CP is, it's a
- compilation of information about Clipper by programmers for programmers.
- Anyone can contribute, but please make sure contributions give credit
- where credit is due. If you write a function or find a bug and would
- like to contribute to CP, merely upload it to The BOSS dBBS (201) 568-7293
- and send me a message. Make sure you include your name, address and phone
- number (for ease in contacting you if need be) as well as documentation,
- source code, and any other files necessary (.dbf, .ntx, etc.) Also,
- if your contribution is not written in Clipper (Assembler, C, etc.)
- please include an executable version, instructions explaining how to
- turn the source code into executable code and any other pertinent
- information (what compiler was used, etc.)
- Contributions can be UDFs, bugs, workarounds, tips, procedures
- (i.e. light bar menu source code,) stand alone utilities, etc.
- The only requirement is that the contribution regard Clipper.
- Remember, include your name, address and phone number with all
- contributions so you can receive your due credit.
-
-
-
- Format for UDF contributions:
-
- Definitions: All words preceded by a # should be replaced as follows:
-
- #source: what language is the source code written in
- (Assembler, Clipper, C, etc.)
-
- #version: what version of the UDF is this?
-
- #name: the name of the function
-
- #clipver: What version of Clipper is this usable by?
-
- W: usable only by the Winter'85 Clipper
- A: usebale only by the Autumn'86 Clipper
- (blank): no restrictions
-
- #callsyntax: what the calling line would look like
-
- #parameters: TYPE variable description
-
- where TYPE is one of the following:
-
- <expC> = character string
- <expN> = numeric
- <expL> = logical
- <expD> = date
-
-
- ════════════════════════════════════════════════════════════════
- #source #version #name() FUNCTION #clipver
- ________________________________________________________________
-
- SYNTAX: #callsyntax
-
- PARAMETERS: #parameters
-
- RETURNS: return value
-
- PURPOSE: explanation
-
- NOTES: warnings, flaws, etc.
-
- EXAMPLE: several examples
-
- CREDITS: author, contributors, etc.
- include name, address and phone number
-
-
-
-
- For some samples, check out the documentation for my library,
- HKLIB01.DOC, included in the file HKLIB01.ARC.