TABLE: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
== Description == | == Description == | ||
:<font size=+1>Argument command containing three arguments separated by commas. Example:</font> | :<font size="+1">Argument command containing three arguments separated by commas. Example:</font> | ||
::''Table(4001,''[[SpeedRPM#]]'', 1)'' | ::''Table(4001,''[[SpeedRPM#]]'', 1)'' | ||
Revision as of 22:38, 1 October 2007
Description
- Argument command containing three arguments separated by commas. Example:
- Table(4001,SpeedRPM#, 1)
- The first argument is the Compost Table#. The second argument is the search value. The third argument is the search criteria. Using the example above, `Table' searches Compost's #4001 Table's left list for the value of the second argument, in a range set by the third argument (1 meaning closest to the value). It then returns the string from ComPost's #4001 Table's right list. The first argument is the only one that may be different from the example as the second and third arguments are only recognized as shown. Future versions may allow you to use a different second or third argument.
Info
ID 408 Date added N/A Type Command Class/Scope All Min Version N/A
TABLE#
Description
- This command is similar to the TABLE command and is used in a similar way. However, any variable can now be passed into the second argument. In addition, the third argument is now hardcoded to be '1' in the command itself. It should not be specified. In addition any type of Compost modifier can be used in front of the 2nd argument. Example: TABLE#('5000') SpeedRPM# or: TABLE#('5000') LAST CalcRPM1#. Unlike the TABLE command, TABLE# is a number command and can only return numeric values. If the String box in the TABLE window in Compost has a alphanumeric string, `TABLE#' is unable to convert this to a numeric value and will return 0. Instead, place your letter character in the prog as a literal preceding the TABLE# command.
Info
ID 393 Date added N/A Type Number Class/Scope All Min Version N/A