Overview
| Artifact ID: | c99fb1a906b119e4c7656518f6b535b383028695 |
|---|---|
| Ticket: | 1230346fffffffffffffffffffffffffffffffff
Another [string is integer] inconsistency |
| User & Date: | matzek on 2005-06-30 23:23:02 |
Changes
- icomment:
Logged In: YES user_id=330806 Well, from my point of view I don't care about Tcl_GetIntFromObj(). Script level is what counts, if script level commands are used. I want to know if the user or system provided a valid integer, not a string, nor a double or whatever ... The big numbers are essential, as I am going to check whether or not I have enough place on the filesystem (e. g. in this case for creating databases). Currently I use [regexp -- {^-?[0-9]+$} $size] to validate the value I got from the system. But I do it quite a number of times, so I'd like to get rid of regexp, if there is a faster method... -- Matthias Kraft - login: "matzek"
- mimetype: "text/plain"
- username: "matzek"