[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
VS_FakeLck           Simulates a network lock

Description:

  VS_FakeLck simulates a network lock for runtime testing of program
  logic associated with network file operations.

Syntax:     

  SET KEY n_Key TO VS_FAKELCK

Pass:       

  Nothing

Return:     

  Nothing

Notes:      


Example:    

  To see VS_FAKELCK 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 VS_FAKELCK

Usage:      

  VS_FAKELCK will force all of the VERNSIX.LIB network functions to act
  as though they were unsuccessful.  This is useful for testing
  your program logic to recover from such failures.

See Also: VS_APPEND() VS_FLOCK() VS_RLOCK() VS_USE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson