Older Newer
Sun, 29 Dec 2019 14:37:10 . . . . SyneRyder [Corrections to return values & how to call function]


Changes by last author:

Added:
= getCtlRange =

== Syntax ==

:int getCtlRange(int n, int type)

== Arguments ==

:n

::The number of the control whose range you wish to get.

:type

:: 0 = The lower value of the user control n.

:: 1 = The higher value of the user control n.

== Return ==

Either the minimum or maximum of the user control range as an integer.

== Description ==

This function retrieves the range of the user control with the index n.

== Example ==

<code>

// Retrieve maximum range of

// user control number 0.

x = getCtlRange(0, 1);

// Retrieve minimum range of

// user control number 23.

x = getCtlRange(23, 0);

</code>

== See Also ==

setCtlRange, setCtlDivisor

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.