powered by
This function enforces content control on entry widgets.
CheckEntry(obj.class, ent.str = "")
character. Name of object class, either real, integer, or logical
character. Value from entry widget
Returns a character string that can be easily converted to the desired object class.
# NOT RUN { CheckEntry("numeric", "3.14ab") CheckEntry("integer", "3.") # }
Run the code above in your browser using DataLab