Skip to content
Tcl Source Code Artifact [eb40211cdc]
Login

Artifact [eb40211cdc]

Artifact eb40211cdcd904ec44887a3c96668acaaeda7e99:

Ticket change [eb40211cdc] - New ticket [3388256fffffffff|3388256fff] <i>insufficient clarity in Tutorial 31</i>. by dkf on 2011-08-08 10:40:53.
D 2011-08-08T10:40:53
J assignee davidw
J cmimetype text/plain
J comment The\stutorial\sneeds\sto\sbe\seven\sclearer\sabout\sthe\sprocess\sof\screating\spackages.\sAs\sevidence,\shere's\sa\schunk\sof\slog\sfrom\sthe\sTcler's\sChat:\n\n[11:27]<daedra>hi\sthere,\sI'm\swrestling\swith\screating\sa\spackage\n[11:28]<daedra>I\shave\ssome\scode\svery\ssimilar\sto\stutstack\sin\shttp://www.tcl.tk/man/tcl/tutorial/Tcl31.html\n[11:28]dkfStep\s1:\swrite\sthe\scode\n[11:29]dkfStep\s2:\smake\sthe\spackage\sindex\sfile,\seither\swith\spkg_mkIndex\sor\smanually\s(it's\snot\stoo\shard\sonce\syou\ssee\swhat\sthe\sfile\scontains\s)\n[11:29]dkfStep\s3:\sput\sthe\sdirectory\scontaining\sthe\scode\sand\sthe\sindex\sfile\ssomewhere\swhere\sTcl\swill\sfind\sit\n[11:30]dkf(either\sby\sadjusting\syour\sauto_path\sor\sby\sputting\sit\ssomewhere\swhich\sis\ssearched\sby\sdefault\s)\n[11:30]dkfthat's\sabout\sall\sthere\sis\n[11:31]<daedra>but\sinstead\sof\sdefining\slots\sof\sprocs\sprefixed\swith\s::\s(e.g.\s::tutstack),\sI\sjust\swrap\severything\sin\sa\sname\sspace\n[11:31]dkf(If\syou\smake\sa\sTcl\sModule,\sapparently\sStep\s2\sbecomes\s"save\sthe\sfile\swith\sthe\sright\sfilename")\n[11:31]<daedra>I\ssuppose\sI\sshould\smake\sit\sas\ssimilar\sas\spossible\n[11:31]<daedra>oh\sso\syou\sneed\sa\spkgIndex\sfile?!\n[11:31]<daedra>but\sthe\stutorial\sdoesn't\smenton\sone\sin\sthe\sexample\n[11:31]dkfIt\sdoes,\shigher\sup\n[11:31]dkfUnder\s"Creating\sa\spackage"\n[11:31]dkfa\sbulleted\slist\s\n[11:32]dkfAnd\sit's\spretty\smuch\swhat\sI\ssaid\n[11:32]<daedra>o\n[11:32]dkf\n[11:32]<daedra>ok\n[11:32]<daedra>full\smarks\n[11:35]dkfPerhaps\swe\sneed\sto\simprove\sthe\stutorial\n[11:36]dkfyou\smissed\sa\scritical\sstep,\stherefore\sit\sis\snot\sgood\senough\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter dkf
J subsystem 75.\sTutorial
J title insufficient\sclarity\sin\sTutorial\s31
J type Bug
K 3388256fffffffffffffffffffffffffffffffff
U dkf
Z c2db022f9148d6597eb086498ee50ce1