RSurvey (version 0.9.3)

CheckEntry: Control Content in Entry Widget

Description

This function enforces content control on entry widgets.

Usage

CheckEntry(obj.class, ent.str = "")

Arguments

obj.class

character. Name of object class, either real, integer, or logical

ent.str

character. Value from entry widget

Value

Returns a character string that can be easily converted to the desired object class.

Examples

Run this code
# NOT RUN {
CheckEntry("numeric", "3.14ab")
CheckEntry("integer", "3.")

# }

Run the code above in your browser using DataLab