Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32cmn.h

Lim()

inline TInt Lim(TInt aVal, TUint aLimit);

Description

Tests whether the specified value is less than or equal to the specified upper limit.

Parameters

TInt aVal

The value to be tested.

TUint aLimit

The upper limit.

Return value

TInt

True, if the value is less than or equal to the specified upper limit; false, otherwise.