Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Expr: Behavior change

Closed / Invalid71a981072bd32f7a15e45712c75abb433d0c01b8Created 7 years agoUpdated 7 years ago
Descriptionplain2020-05-17 11:37:28
Hello all,

There is a behavior change regarding the expr command:

Tcl 8.6:
% expr {0777}
511

Tcl9:
% expr {0777}
777

I didn't see any hint about that.

Kind regards,
Rami Khaldi
philosopherthread Ticket [71a981072b]: 3 changes [History diff]2020-05-17 11:43:12
jan.nijtmanswiki2020-05-18 10:46:33

See: https://core.tcl-lang.org/tips/doc/trunk/tip/114.md

So, this is not a bug, it's a change explicitly accepted for 9.0 with good reason (IMHO).

Log in (anonymous is fine) to add a comment.