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

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

--

IsTareWtChanged

Checks whether the formatted tare weight is different from the last time IsTareWtChanged was called.

bool IsTareWtChanged(int nScale, int nLen = 7);

Parameters

  • nScale - scale number
  • nLen - length to format the weight

Return Value

  • Returns true if the formatted tare weight of the specified scale is changed, or false if the formatted weight is the same as the last time IsTareWtChanged was called.

Remarks

Examples

if(IsTareWtChanged(1))
{
    DisplayText(0, 0, GetChangedTareWt(1));
}

See Also

Note: See TracWiki for help on using the wiki.