LOCKRESOURCE()

From Lianjapedia
Revision as of 05:54, 28 March 2017 by Yvonne.milne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Under Construction

Purpose

Function to lock a named resource

Syntax

LOCKRESOURCE(<cResource> [, <cMode>])

See Also

UNLOCKRESOURCE(), UNLOCKRESOURCEALL()

Description

The LOCKRESOURCE() function attempts to lock the named resource <cResource> in mode <cMode>.

Argument Description
<cResource> Character string specifying the name of the resource
<cMode> Character string specifying the mode: "shared" or "exclusive"

Example