Difference between revisions of "cock.convertDelta"

(Created page with "Converts literal to numerical delta mode names and vice versa. == Function == === Synopsis === <source lang="Lua">converted = cock.convertDelta ( input, forceliteral )</source> =...")
 
m (See also)
Line 11: Line 11:
 
Function will make no change if it was supplied with literal input and forced to output literal value. Same for numerical values.
 
Function will make no change if it was supplied with literal input and forced to output literal value. Same for numerical values.
 
== See also ==
 
== See also ==
*[[Common Organization of Controls Kit Modes]]
+
*[[Common Organization of Controls Kit Modes]]*[[parent::Common Organization of Controls Kit Manual]]
*[[Common Organization of Controls Kit Manual]]
+
[[Category:Functions]]
 +
*[[Common Organization of Controls Kit]]
 +
 
 +
{{#set:Description=Converts delta.}}

Revision as of 18:22, 2 September 2013

Converts literal to numerical delta mode names and vice versa.

Function

Synopsis

converted = cock.convertDelta ( input, forceliteral )

Arguments

number input
Input delta mode, numerical or literal.
boolean forceliteral
Optional. Forces literal ("true") or numerical ("false") output. Will perform conversion regardless if not provided.

Returns

string converted
Converted delta mode.

Remarks

Function will make no change if it was supplied with literal input and forced to output literal value. Same for numerical values.

See also