Skip to content
Tcl Source Code Artifact [f2de97b594]
Login

Artifact [f2de97b594]

Artifact f2de97b5944eca4327ed1046b6142bc420a0ffd389d3fc315903c374475523cb:

Ticket change [f2de97b594] - Ticket [b5bd08df8d61b4ea|b5bd08df8d] <i>The &quot;int&quot; type registration should be restored.</i> status still Open with 3 other changes by apnadkarni on 2022-11-18 16:58:09.
D 2022-11-18T16:58:09.381
J icomment Using\sTcl_GetIntFromObj\setc.\sdoes\snot\sachieve\sthe\spurpose\sbecause\s(for\sexample)\sthe\svalue\s1\swill\sbe\ssuccessfully\sretrieved\svia\sthe\scall\sby\sshimmering\sthe\sstring\s"1".\sThe\sdesired\sintent\sis\sthat\sa\sTcl_Obj\screated\svia\sTcl_NewStringObj("1",\s-1)\sbe\spassed\sto\sExcel\sas\sa\sstring,\swhile\sTcl_NewIntObj(1)\sbe\spassed\sas\san\sint\s(VT_I4)\sand\sTcl_NewWideInt(1)\sbe\spassed\sas\sVT_I8.\r\n\r\nHaving\ssaid\sthat,\sI\sfully\sunderstand\s(and\salways\sdid)\sthat\sthis\sis\ssimply\ssomething\sTcl\scannot\sdo\sreliably.\sIt\shappened\sto\swork\swell\sin\sTcl\s8.6\sspecifically\sbecause\sof\show\sTcl\swas\simplemented,\snot\sbecause\sof\sany\sguarantees\sin\sthe\slanguage\sor\sC\sAPI.\sIt\swill\snot\swork\swell\swith\s8.7.\sEnd\susers\scan\seither\sstick\swith\s8.6\sor\smove\son\sto\ssome\sother\sscripting\slanguage\sfor\sCOM,\sparticularly\sif\sthe\scomponent\sdoes\snot\sprovide\sa\stype\slibrary.\r\n\r\n/Ashok
J login apnadkarni
J mimetype text/x-markdown
K b5bd08df8d61b4ea9bf0cc885f790b367c430a9f
U apnadkarni
Z 8610b656b1bb4f44e115b8cba3628c10