Documente Academic
Documente Profesional
Documente Cultură
0 Documentation Errata
Copyright (c) 1991, Nantucket Corporation
========================================================================
1 Getting Started
\CLIPPER5
.
.
.
\SOURCE
.
.
.
\SAMPLE
\SYS Subsystem source files
------------------------------------------------------------------------
1.2 Chapter 3: Creating a First Program
========================================================================
2 Quick Reference
------------------------------------------------------------------------
2.2 Chapter 3: Standard Commands
[ALIAS <xcAlias>]
------------------------------------------------------------------------
2.3 Chapter 4: Standard Functions
Returns the INKEY() code of the last key extracted from the keyboard.
Returns the INKEY() code of the next key pending in the keyboard as a
numeric value.
------------------------------------------------------------------------
2.4 Chapter 5: Standard Classes
...specified by <oColumnNew>.
------------------------------------------------------------------------
2.5 Chapter 9: The Clipper Debugger
? | ?? <exp>
FIND <searchString>
GOTO <lineNum>
Moves the cursor in the Code Window from its current position to the
specified line number.
INPUT <idScriptFile>
LIST BP | TP | WP
The description should read:
SPEED <delay>
The STEP command does not allow an argument. The syntax for this
command should read:
STEP
VIEW <idFileName>
========================================================================
3 Reference
3.1 Introduction
------------------------------------------------------------------------
3.2 Chapter 1: Basic Concepts
3.2.1 Page 1-2 and 1-4 A Typical Clipper Program, code examples
The last sentence of the last paragraph on page 1-11 should read:
Variables other than field variables and array elements can be passed
by reference...
In Clipper, when you change a memo field with less than 512 bytes,
the existing block is used until the block is filled. Once full, the
block is discarded and copied to a new location.
------------------------------------------------------------------------
3.3 Chapter 2: Statements
You cannot RETURN, LOOP, or EXIT between a BEGIN SEQUENCE and RECOVER
statement. From within the RECOVER statement block, however, you can
LOOP, EXIT, BREAK, or RETURN since the SEQUENCE is essentially
completed at that point.
------------------------------------------------------------------------
3.4 Chapter 3: Pre-processor Directives
------------------------------------------------------------------------
3.5 Chapter 4: Standard Commands
#define K_ESC 27
USE Sales INDEX Salesman NEW
DISPLAY Branch, Salesman, Amount WHILE INKEY() != K_ESC
#define K_ESC 27
USE Sales INDEX Sales NEW
LABEL FORM Sales WHILE INKEY() != K_ESC
#define K_ESC 27
USE Sales INDEX Salesman NEW
LIST Branch, Salesman, Amount WHILE INKEY() != K_ESC
#define K_ESC 27
USE Sales INDEX Sales NEW
REPORT FORM Sales WHILE INKEY() != K_ESC
The first and second paragraphs should be replaced with the following
paragraph:
[ALIAS <xcAlias>]
------------------------------------------------------------------------
3.6 Chapter 5: Standard Functions
The second sentence of the first paragraph on page 5-48 should read:
The User Function Return Values table on the previous page summarizes
the possible return values and the corresponding actions.
Add FERASE() and FRENAME() to the see also section for FERROR().
------------------------------------------------------------------------
3.7 Chapter 6: Standard Classes
------------------------------------------------------------------------
3.8 Glossary
========================================================================
4 Programming and Utilities
Delete the third row of Table 1-1. The R parameter is not supported in
Clipper 5.0.
The last sentence of the second paragraph of this section should read:
The ideal <nHandles> is an odd number and 5 less than the number
specified with the FILES command.
* Search rights: The user has the right to search the directory's
file list
------------------------------------------------------------------------
4.2 Chapter 2: Network Programming
* Shared access to allow two or more users to open the same file
simultaneously (USE...SHARED).
* Exclusive access to prevent other users from opening the same file
at the same time (USE...EXCLUSIVE).
Delete the last bullet point "How buffers are handled" from the list.
Note that this information is discussed in the "Update Visibility"
section beginning on page 2-12.
The comment on the second line of the first code example at the top of
page 2-7 should read:
------------------------------------------------------------------------
4.3 Chapter 3: Clipper Compiler--CLIPPER.EXE
------------------------------------------------------------------------
4.4 Chapter 5: Program Maintenance--RMAKE.EXE
$< Expands to the full name of the dependency file that triggered
the rule
------------------------------------------------------------------------
4.5 Chapter 6: Clipper Program Editor--PE.EXE
Uparrow/Ctrl-E Line up
Dnarrow/Ctrl-X Line down
Leftarrow/Ctrl-S Character left
Rightarrow/Ctrl-D Character right
Ctrl-Leftarrow/Ctrl-A Word left
Ctrl-Rightarrow/Ctrl-F Word right
Home Beginning of line
End End of line
Ctrl-Home Top of window
Ctrl-End End of window
PgUp Previous window
PgDn Next window
Ctrl-PgUp Top of file
Ctrl-PgDn End of file
Return Begin next line
Delete Delete character
Backspace Delete character left
Tab Insert tab/spaces
Ctrl-Y Delete line
Ctrl-T Delete word right
Alt-H, F1 Display help screen
Ctrl-W Save and exit
Alt-W Save and continue
Alt-O New output filename
Alt-X, Esc Exit
Alt-F Display filename
Alt-S Search
Alt-A Search again
Alt-I, Ins Toggle insert mode
------------------------------------------------------------------------
4.6 Chapter 8: Report and Label Utility--RL.EXE
------------------------------------------------------------------------
4.7 Chapter 10: Using the Extend System
#include "extend.h"
#include "math.h"
The sixth line of the assembly language code example that currently
reads "pop si" should read:
push si
In the assembly code example on this page, the following line of code
should be inserted after "call __retl" and before "RET:"
add sp, 2
------------------------------------------------------------------------
4.8 Chapter 11: Extend Function Reference
========================================================================
5 The Clipper Debugger
* * *