Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

lib_def.h

Prototype

Code Block
LanguageC++
CaptionTextCAPTION
languagecpp
          DEF_GET_U_MAX_VAL(obj);


Arguments

obj

Object or data type to return maximum unsigned value.

...

obj should be an integer object or data type but could also be a character or pointer object or data type.

Example Usage

CAPTION
Code Block
LanguageC++
CaptionText
languagecpp
          CPU_DATA  val;
         


          val = Some val;
          if (val == DEF_GET_U_MAX_VAL(val)) {
              handle max val condition;
          }