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.

Example<br />

In the following example, READVL checks for locks on the record CARS in the<br />

default file. If the record is available, it sets a shared lock and reads the third attribute<br />

of the record. If the data is not found, UniData displays the message “NOT FOUND”.<br />

1-652 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

READVL MODEL FROM "CARS",3 ELSE PRINT "NOT FOUND"<br />

Related <strong>Commands</strong><br />

<strong>UniBasic</strong><br />

CLOSE, DELETE, OPEN, READ, READL, READU, READV, READVU, WRITE<br />

UniData<br />

DEFAULT.LOCKED.ACTION – For information, see the UniData <strong>Commands</strong><br />

<strong>Reference</strong>.

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

Saved successfully!

Ooh no, something went wrong!