wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetCurUnitsLabel

Version 1 (modified by Don Wilson, 14 years ago) ( diff )

--

GetCurUnitsLabel

Get the current units label of the specified scale.

const char* GetCurUnitsLabel(int nScale);

Parameters

  • nScale - scale number

Return Value

  • Returns the current units label of the specified scale

Remarks

MnBdStartup must be performed before this will return a valid result.

Example

string strMsg = StrFmt("Current units %s", GetCurUnitsLabel(1));
DisplayText(10, 10, strMsg);

See Also

Note: See TracWiki for help on using the wiki.