[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FAKELOCK Simulates a network lock
Description:
FAKELOCK simulates a network lock for runtime testing of program logic
associate with network file operations.
Syntax:
SET KEY <expN> TO FAKELOCK
Pass:
Nothing
Return:
Nothing
Notes:
Example:
To see FAKELOCK work, set a key to activate it (I like ALT-L). Then
when your application is running, press ALT-L at some "wait-state". A
non-screen destructive message will appear telling you that the lock
has been turned on or off. From this point on (until you turn the
lock off again) the network functions in VERNSIX.LIB will all act as
though they have been unsuccessful.
i.e. SET KEY 294 TO FAKELOCK
Usage:
FAKELOCK will force all of the VERNSIX.LIB network functions
(V_APPEND(), V_FLOCK(), V_RLOCK() and V_USE) to act as though they
were unsuccessful. This is useful for testing you program logic to
recover from such failures.
See Also:
V_APPEND()
V_FLOCK()
V_RLOCK()
V_USE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson