11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RECORDLOCKL<br />

Syntax<br />

RECORDLOCKL [file.var,] record.ID.expr [ON ERROR statements]<br />

[LOCKED statements]<br />

Description<br />

The <strong>UniBasic</strong> RECORDLOCKL command checks for record locks. If the record is<br />

available, it sets a shared lock on the record. For an explanation of UniData locks,<br />

and for a sample program that you can use to test this command, see Developing<br />

<strong>UniBasic</strong> Applications.<br />

Parameters<br />

The following table describes each parameter of the syntax.<br />

Parameter Description<br />

file.var, Specifies the file from which to read the record.<br />

If you do not specify a file.var, UniData reads from the default<br />

file. If no default file is open, a fatal error occurs.<br />

The default file is one for which no file variable is assigned in<br />

the OPEN statement.<br />

RECORDLOCKL Parameters<br />

RECORDLOCKL 1-665

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!