summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-03-20 07:15:34 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-03-20 07:15:34 -0700
commit622f87134be4d14aefac13f3c3013d08ebe7c5d0 (patch)
treeaa26b914161f2a50b9bf78103d8fbdc591a0cea2 /txr.1
parent772733d9558e63afe8f33ab9f230407242bed2ce (diff)
downloadtxr-622f87134be4d14aefac13f3c3013d08ebe7c5d0.tar.gz
txr-622f87134be4d14aefac13f3c3013d08ebe7c5d0.tar.bz2
txr-622f87134be4d14aefac13f3c3013d08ebe7c5d0.zip
* lib.c (int_str): Workaround for wcstol recognizing the 0x prefix when
radix is 16. Also, thrown an error if radix is not in the range 0 to 36. * txr.1: Document int-str's radix range restriction.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.11
1 files changed, 1 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index bb8efb4a..6aef1dcd 100644
--- a/txr.1
+++ b/txr.1
@@ -19063,6 +19063,7 @@ The
.code int-str
function converts a string of digits in the specified
radix to an integer value. If the radix isn't specified, it defaults to 10.
+Otherwise it must be an integer in the range 2 to 36.
For radices above 10, letters of the alphabet
are used for digits:
.code A