Sujet : Re: The "leading zero means octal" thing...
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.lang.tcl comp.unix.shell comp.editorsDate : 05. Jan 2025, 06:21:59
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <vld4tn$2jao9$3@news.xmission.com>
References : 1 2
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
vlcik4$md8n$1@dont-email.me>, Rich <
rich@example.invalid> wrote:
In comp.lang.tcl Kenny McCormack <gazelle@shell.xmission.com> wrote:
I am referring, of course, to the convention that a number with a
leading zero is interpreted as octal. ... most recently in Tcl
(Expect) ...
>
For Tcl 9, leading zero decimal number strings are no longer
interpreted as octal:
>
https://www.tcl-lang.com/software/tcltk/9.0.html
>
Numbers
>
0NNN format is no longer octal interpretation. Use 0oNNN
>
This is good news!
I guess I'm going to have to re-compile (A private version of) Tcl and
Expect (one of these days...)
-- "He is exactly as they taught in KGB school: an egoist, a liar, but talented - heknows the mind of the wrestling-loving, under-educated, authoritarian-admiringwhite male populous." - Malcolm Nance, p59. -