| 1 | = GetNumScales = |
| 2 | Get the number of scale inputs. |
| 3 | |
| 4 | {{{ |
| 5 | int GetNumScales(void); |
| 6 | }}} |
| 7 | |
| 8 | == Parameters == |
| 9 | |
| 10 | Function does not accept any parameters. |
| 11 | |
| 12 | == Return Value == |
| 13 | |
| 14 | * Returns number of scales |
| 15 | |
| 16 | == Remarks == |
| 17 | |
| 18 | == Example == |
| 19 | |
| 20 | {{{ |
| 21 | int n; |
| 22 | n = GetNumScales(); |
| 23 | string strMsg = StrFmt("You have %d scales", n); |
| 24 | DisplayText(10, 10, strMsg); |
| 25 | }}} |
| 26 | |
| 27 | |
| 28 | == See Also == |
| 29 | |
| 30 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetCapacity GetCapacity] |
| 31 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetInterval GetInterval] |
| 32 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetDecimal GetDecimal] |
| 33 | |