diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-12-05 22:36:15 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-12-05 22:36:15 -0800 |
commit | 462024f5d4cd7bc2c134eb732eabaea6f3bafc1e (patch) | |
tree | 552bf326425892de3127cca74c517643b10de89c /txr.1 | |
parent | 0bbef1e12870a4f749a112dfb4ef8a09736e8b29 (diff) | |
download | txr-462024f5d4cd7bc2c134eb732eabaea6f3bafc1e.tar.gz txr-462024f5d4cd7bc2c134eb732eabaea6f3bafc1e.tar.bz2 txr-462024f5d4cd7bc2c134eb732eabaea6f3bafc1e.zip |
* arith.c (tofloat, toint): Handle characters.
Fix error message in toint wrongly identifying itself as tofloat.
* txr.1: Document handling of characters.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18884,6 +18884,11 @@ toint, then the value is simply returned. If .meta value +is a character, then it is treated as a string of length one +containing that character. + +If +.meta value is a string, then it is converted by .code tofloat as if by the function |