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.

OCONV Range (R)<br />

Syntax<br />

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

Description<br />

The OCONV range (R) function returns only those data values that fall into 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, OCONV 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 />

1-519 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><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.<br />

Do not use the minus sign (-) as a delimiter because it refers to a negative<br />

number in the range.<br />

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

; Separates multiple ranges.<br />

OCONV Range (R) Parameters

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

Saved successfully!

Ooh no, something went wrong!