11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SELECTINFO<br />

Syntax<br />

SELECTINFO([list.num.expr,] 1)<br />

Description<br />

The <strong>UniBasic</strong> SELECTINFO function returns the state of a select list. list.num.expr<br />

is an expression evaluating to the number of the select list (0-9).<br />

Parameters<br />

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

Parameter Description<br />

list.num.expr The select list number (0-9).<br />

1 The only code.expr currently implemented is 1, which returns the values<br />

described in the following table.<br />

SELECTINFO Parameters<br />

SELECTINFO Function Return Values<br />

The SELECTINFO function returns one of the values described in the following<br />

table.<br />

Value Description<br />

1 The select list you specify is active.<br />

0 The select list you specify is not active.<br />

-1 The select list does not exist, or code.expr is not valid, or (in BASICTYPE P)<br />

list.num.expr is not a list variable.<br />

SELECTINFO Function Return Values<br />

SELECTINFO 1-709

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

Saved successfully!

Ooh no, something went wrong!