<i>TCL_PACKAGE_PATH path is (wrongly) braced.</i> status still Open with 3 other changes
by
.
D 2025-05-09T14:47:00.483
J icomment Tcl\scan\salso\sbe\srendered\s100%\sdysfunctional\sby\screating\sa\s.tclshrc\sfile\scontaining\sonly\s"exit\s1".\s\sTCLLIBPATH\sis\sdocumented\sto\sbe\sa\slist,\sand\sif\sa\suser\sprovides\sa\svalue\sthat\sis\snot\sa\slist,\sTcl\sshould\sproduce\san\serror,\sand\sit\sdoes.\s\sIt\swould\sbe\strivial\sto\smake\sthe\scurrent\serror\sa\slittle\smore\sinformative,\sbut\sthe\sinterpreter\sshould\sstill\sexit\sif\sa\sbad\svalue\sis\sprovided.\s\s"Error\searly"\sis\sa\sthing,\sand\sit's\sa\sgood\sthing.\s\sA\ssyntax/formatting\serror\sin\sTCLLIBPATH\s(and\sTCL_PACKAGE_PATH)\sshould\sbe\streated\sthe\ssame\sway\sthat\sa\ssyntax/formatting\serror\sin\sa\sscript\sis\streated.\s\sIt\sis\sthe\suser's\sbug\swhen\sa\svalue\sis\sdocumented\sto\shave\sa\scertain\sformat\sbut\sthe\suser\sprovides\sa\svalue\sthat\sis\snot\sin\sthat\sformat.\s\sAnyway,\sJan's\sexample\sreally\shas\sno\sbearing\son\swhat\sthe\sformat\sof\sTCLLIBPATH\sshould\sbe.\s\sLikewise,\sif\sthe\sformat\swere\schanged\sto\suse\sdelimiters,\sand\sthere\swas\san\serror\sin\sthe\simplementation\sof\sthe\sparser\sfor\sthose\sdelimiters,\sit\swouldn't\sreflect\son\sthe\sdecision\sto\sadopt\sthose\sdelimiters\sas\sthe\snew\sformat.\s\sAlso,\sif\sthe\sbehaviour\sJan's\sexample\sillustrates\swas\sactually\sa\sproblem,\sit\swould\shave\sbeen\sfixed\sa\slong,\slong\stime\sago.
J login pooryorick
J mimetype text/x-fossil-wiki
K 1b8a893ded5f2a9b0c70a5893c7a2be3429d8033
U pooryorick
Z efeb46e14fa4cca9e6d38267c2031231