Skip to content
Tcl Source Code Artifact [70fb5fc86d]
Login

Artifact [70fb5fc86d]

Artifact 70fb5fc86df2d7b91a7dde92a64dadef63ca94b4f7fc03b6e48747fea5e04c5f:

Ticket change [70fb5fc86d] - Ticket [b204c13b2b2335a6|b204c13b2b] <i>Incompatibility between 8.6 and 8.7 with underscores in numerics</i> status still Open with 3 other changes by jan.nijtmans on 2023-08-25 16:58:23.
D 2023-08-25T16:58:23.099
J icomment Understood\s(but\snot\sagreed)\r\n\r\nWhen\sdoing\scomparisons\swhile\sone\sargument\sis\sknown\sto\sbe\sa\sstring,\sthe\seq/ne\sare\sprefered\sover\s==/!=.\sThis\sexample\sshows\swhy\sthis\sshould\sbe\sdone.\sShould\sTIP\s#472\shave\sbeen\srejected\sas\swell?\r\n\r\nExample:\sIn\s8.6\r\n\r\n```\s%\sexpr\s{10\s==\s"0d10"}\s0\s```\r\n\r\nIn\s8.7\r\n\r\n```\s%\sexpr\s{10\s==\s"0d10"}\s1\s```\r\n\r\nIn\smy\sview,\sTIP's\s#472\sand\s#551\sare\sOK.\sThe\sdocumentation\sshould\s-\smaybe\s-\sbe\simproved,\sstressing\smore\swhy\seq/ne\soperators\sshould\sbe\sused\sfor\sstring\scomparison.\r\n\r\nSince\sthose\sTIP's\sare\salready\saccepted,\sthe\sonly\sway\sto\sundo\sthose\sare\sa\sfollow-up\sTIP.\sI\sdon't\sthink\ssuch\sa\sTIP\swould\sbe\saccepted\s(I\swouldn't).\sSorry.
J login jan.nijtmans
J mimetype text/x-markdown
K b204c13b2b2335a6baf8fa1a3c6a627432380012
U jan.nijtmans
Z 6596bb2235833a12a353c2e780fdb1c3