382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
|
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
|
-
-
-
+
+
+
|
* number in a format recognized by Tcl.
*
* The arguments bytes, numBytes, and objPtr are the inputs which
* determine the string to be parsed. If bytes is non-NULL, it points to
* the first byte to be scanned. If bytes is NULL, then objPtr must be
* non-NULL, and the string representation of objPtr will be scanned
* (generated first, if necessary). The numBytes argument determines the
* number of bytes to be scanned. If numBytes is negative, the first NUL
* byte encountered will terminate the scan. If numBytes is non-negative,
* then no more than numBytes bytes will be scanned.
* number of bytes to be scanned. If numBytes is TCL_INDEX_NONE, the first NUL
* byte encountered will terminate the scan. Otherwise,
* no more than numBytes bytes will be scanned.
*
* The argument flags is an input that controls the numeric formats
* recognized by the parser. The flag bits are:
*
* - TCL_PARSE_INTEGER_ONLY: accept only integer values; reject
* strings that denote floating point values (or accept only the
* leading portion of them that are integer values).
|