Skip to content
Tcl Source Code Artifact [c99fb1a906]
Login

Artifact [c99fb1a906]

Artifact c99fb1a906b119e4c7656518f6b535b383028695:

Ticket change [c99fb1a906] - Ticket [1230346fffffffff|1230346fff] <i>Another [string is integer] inconsistency</i> status still Open with 4 other changes by matzek on 2005-06-30 23:23:02.
D 2005-06-30T23:23:02
J icomment Logged\sIn:\sYES\s\nuser_id=330806\n\nWell,\sfrom\smy\spoint\sof\sview\sI\sdon't\scare\sabout\nTcl_GetIntFromObj().\sScript\slevel\sis\swhat\scounts,\sif\sscript\nlevel\scommands\sare\sused.\sI\swant\sto\sknow\sif\sthe\suser\sor\nsystem\sprovided\sa\svalid\sinteger,\snot\sa\sstring,\snor\sa\sdouble\nor\swhatever\s...\n\nThe\sbig\snumbers\sare\sessential,\sas\sI\sam\sgoing\sto\scheck\nwhether\sor\snot\sI\shave\senough\splace\son\sthe\sfilesystem\s(e.\sg.\nin\sthis\scase\sfor\screating\sdatabases).\sCurrently\sI\suse\n[regexp\s--\s{^-?[0-9]+$}\s$size]\sto\svalidate\sthe\svalue\sI\sgot\nfrom\sthe\ssystem.\sBut\sI\sdo\sit\squite\sa\snumber\sof\stimes,\sso\sI'd\nlike\sto\sget\srid\sof\sregexp,\sif\sthere\sis\sa\sfaster\smethod...\n\n--\sMatthias\sKraft\n
J login matzek
J mimetype text/plain
J username matzek
K 1230346fffffffffffffffffffffffffffffffff
U matzek
Z a1db3643eedbc3a60dadf1180c915f81