05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

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.

FUNCTION REFERENCE<br />

GETUPDOWNDATA(DATA, LIMIT)<br />

GETUPDOWNDATA(DATA, LIMIT)<br />

ARGUMENT TYPE DESCRIPTION<br />

data int A steadily increasing source value.<br />

limit int The number of values to generate.<br />

DESCRIPTION<br />

This function takes a steadily increasing value and converts it to a value that oscillates<br />

between 0 and limit–1. It is typically used within a demonstration database to generate<br />

realistic looking animation, often by passing DispCount as the data parameter so that the<br />

resulting value changes on each display update. If the GetUpDownStep function is called with<br />

the same arguments, it will return a value indicating the direction of change of the data<br />

returned by GetUpDownData.<br />

FUNCTION TYPE<br />

This function is passive.<br />

RETURN TYPE<br />

int.<br />

EXAMPLE<br />

Data := GetUpDownData(DispCount, 100)<br />

REVISION 6 PAGE 355

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

Saved successfully!

Ooh no, something went wrong!