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.

ICONV Range (R)<br />

Syntax<br />

ICONV(num.expr, "Rndm[;ndm.....]")<br />

Description<br />

The ICONV range (R) function returns only those data values that fall within a<br />

specified range of decimal values. When including a negative range, you must<br />

specify the highest negative number first. If range specifications are not met, UniData<br />

returns an empty string. If the input value or conversion code is invalid, UniData<br />

returns the input value.<br />

Note: In BASICTYPE P, ICONV returns an empty string if UDT.OPTIONS 56 is on<br />

and the input value or conversion code is invalid.<br />

Parameters<br />

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

Parameter Description<br />

num.expr Indicates a string to be searched.<br />

n Specifies the smallest number to be extracted.<br />

d Specifies a delimiter separating numbers in a range. Any character except<br />

system delimiters can be used to separate the numbers in a range. However,<br />

the minus sign (-) should not be used as a delimiter because it refers to a<br />

negative number in the range.<br />

m Specifies the longest string to be extracted.<br />

; Separates multiple ranges.<br />

ICONV Range (R) Parameters<br />

ICONV Range (R) 1-360

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

Saved successfully!

Ooh no, something went wrong!