BTW, Kornshell operates with bases up to 64 and I wonder what symbols
are used for that. [...]
And strange got this same error message for
ibase=14
Runtime warning (func=(main), adr=6): ibase too large, set to 16
On 2025-02-18, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
And strange got this same error message for
ibase=14
Runtime warning (func=(main), adr=6): ibase too large, set to 16
Did you already set ibase before and that "14" is no longer decimal
14?
[...]
BTW, Kornshell operates with bases up to 64 and I wonder what symbols
are used for that. Tests show that it depends on the base; for small
bases letters in caps are handled like lowercase letters, for larger
bases using caps matters, and for some bases we even get errors, e.g.
$ echo $((37#ff))
570
$ echo $((37#FF))
ksh: 37#FF: arithmetic syntax error
Looks like a bug to me.
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 09:05:44 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
2 files (6,679K bytes) |
| Messages: | 265,062 |