home *** CD-ROM | disk | FTP | other *** search
- ********************************
- * SPEED3.PRG *
- * Written By Gregory A. Martin *
- ********************************
-
- * This example clocks the time taken to complete the simple test in a
- * multi-user application using record locking.
-
- SET EXCLUSIVE OFF
-
- USE Speed
-
- Second1 = SECONDS()
-
- FOR Temp = 1 TO 10000
- SKIP 1
- RLOCK()
- UNLOCK
- SKIP -1
- NEXT Temp
-
- ? "Done...", SECONDS() - Second1
-
- USE
- RETURN