CheckEntry: Control Content in Entry Widget

Description Usage Arguments Value Author(s) Examples

Description

This function enforces content control on entry widgets.

Usage

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

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

1
2
CheckEntry("numeric", "3.14ab")
CheckEntry("integer", "3.")

RSurvey documentation built on May 2, 2019, 3:28 p.m.