Example: isdigit

The following example checks if the values of 55 and 109 are digits.

     if (isdigit(55))
          lr_output_message("The value 55 is the digit %c", 55);
     else
          lr_output_message("Value 55 is not a digit. It's the character %c.", 55);
     if (isdigit(109))
          lr_output_message("The value 109 is the digit %c", 109);
     else
          lr_output_message("Value 109 is not a digit. It's the character %c.", 109);
Example: Output:
Action.c(4): The value 55 is the digit 7
Action.c(11): Value 109 is not a digit. It's the character m.