Share this page

# 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.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: