diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-19 09:25:51 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-19 09:25:51 (GMT) |
commit | 9e88eb9b4842b571659061b7785fe565a70024b7 (patch) | |
tree | 6d6df6037727c460a921918e2c1f7c8d56ef61a4 /doc/scan.n | |
parent | cea158cb1ddd3041bc55144a2eaf33fc216e234e (diff) | |
parent | 7386a38e172efc6d56780bc272ba64c098a027a9 (diff) | |
download | tcl-9e88eb9b4842b571659061b7785fe565a70024b7.zip tcl-9e88eb9b4842b571659061b7785fe565a70024b7.tar.gz tcl-9e88eb9b4842b571659061b7785fe565a70024b7.tar.bz2 |
Merge trunk
Diffstat (limited to 'doc/scan.n')
-rw-r--r-- | doc/scan.n | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -73,17 +73,18 @@ The size modifier field is used only when scanning a substring into one of Tcl's integer values. The size modifier field dictates the integer range acceptable to be stored in a variable, or, for the inline case, in a position in the result list. -The syntactically valid values for the size modifier are \fBh\fR, \fBL\fR, -\fBl\fR, \fBz\fR, \fBt\fR, and \fBll\fR. The \fBh\fR size -modifier value is equivalent -to the absence of a size modifier in the the conversion specifier. -Either one indicates the integer range to be stored is limited to -the 32-bit range. -The \fBL\fR size modifier is equivalent to the \fBll\fR size -modifier. Either one indicates the integer range to be stored is unlimited. -The \fBl\fR (or \fBq\fR or \fBj\fR) size modifier indicates that the integer -range to be stored is limited to the same range produced by the -\fBwide()\fR function of the \fBexpr\fR command. +The syntactically valid values for the size modifier are \fBh\fR, +\fBl\fR, \fBz\fR, \fBt\fR, \fBq\fR, \fBj\fR, \fBll\fR, and \fBL\fR. +The \fBh\fR size modifier value is equivalent to the absence of a size +modifier in the the conversion specifier. Either one indicates the +integer range to be stored is limited to the 32-bit range. The \fBL\fR +size modifier is equivalent to the \fBll\fR size modifier. Either one +indicates the integer range to be stored is unlimited. The \fBl\fR (or +\fBq\fR or \fBj\fR) size modifier indicates that the integer range to be +stored is limited to the same range produced by the \fBwide()\fR function +of the \fBexpr\fR command. The \fBz\fR and \fBt\fR modifiers indicate the +integer range to be the same as for either \fBh\fR or \fBl\fR, depending +on the value of the \fBpointerSize\fR element of the \fBtcl_platform\fR array. .SS "MANDATORY CONVERSION CHARACTER" .PP The following conversion characters are supported: |