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.

READXBCK<br />

Syntax<br />

READXBCK dyn.array.var [FROM file.var] [ON ERROR statements] {THEN<br />

statements [END] | ELSE statements [END]}<br />

Description<br />

The <strong>UniBasic</strong> READXBCK command reads the previous key in an alternate key<br />

index in much the same manner as the READBCK command, but does not read the<br />

associated record. READXBCK enables a program to read alternate keys without<br />

incurring the overhead of retrieving a record every time.<br />

Parameters<br />

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

Parameter Description<br />

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

dyn.array.var Specifies a dynamic array to which to assign the values read.<br />

FROM 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 />

READXBCK Parameters

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

Saved successfully!

Ooh no, something went wrong!