if [info exists hogehoge] { ... } if {[info exists hogehoge]} { ... }
Wikipediaに従えば後者のが効率が良いはずだが,括弧が多くなって邪魔臭い. それとも内部的には処理を最適化して同じ効率だったりするのか. 大したことじゃないが,いつも迷う. 0202デフォルトの名無しさん2017/03/05(日) 23:08:54.15ID:nindsAFW バグ防止じゃね 0203デフォルトの名無しさん2017/03/06(月) 18:16:18.94ID:R4qOQgGq フン フン フン 黒豆よ 0204デフォルトの名無しさん2017/07/20(木) 19:11:33.58ID:ZZQl41L2 pythonからtk無くなるのはいつ? 0205本田2017/09/26(火) 23:07:22.42ID:3JGPYe7X AndroWish allows to run desktop Tcl and Tk programs almost unaltered on the Android Platform while it opens the door to script a rich feature set of a mobile platform. https://www.androwish.org/index.html/home0206デフォルトの名無しさん2017/09/26(火) 23:16:22.12ID:HGlCdN70 いまさらレス。 ifはともかくwhileは{}で囲うかどうかで意味が違ってくる。 while [...] {...} としちゃうと[..]はコマンドを実行した結果がwhileの引数に渡される。 whileの第一引数がループ本体を実行する以前に決定されてしまっている。
while {[...]} {...} だと[...]という文字列がwhileの引数に渡される。 [...]がループ本体の結果を受けて変化することを期待しているなら後者でしか正常動作しない。 0207デフォルトの名無しさん2017/09/28(木) 10:19:40.52ID:PJxaABWy 原則を理解しないで上っ面だけ覚えようとするからそうなる 0208本田2017/09/29(金) 00:06:22.13ID:0ELM3AEs Tcl/Tk 8.7 is now in alpha development . Those seeking its new features, or those invested in keeping their existing Tcl-related work compatible with the next releases of Tcl and Tk are invited to try and track this development work. https://www.tcl.tk/software/tcltk/8.7.html0209デフォルトの名無しさん2017/09/29(金) 11:09:09.23ID:/1pN5XFr GJ 0210本田2017/10/03(火) 00:57:30.30ID:/sf4bemB Tcl Interpreter in C# Application http://wiki.tcl.tk/95630211デフォルトの名無しさん2017/10/13(金) 22:39:05.49ID:JSzbZ2G6>>206
>>201だけどレスサンクス 質問が悪かったwhileはご指摘の通り勘違い 問題はifのとき ifではなやむ 0212本田2017/10/15(日) 01:03:56.23ID:5iehCBRi tclquadcode http://wiki.tcl.tk/40985 Package for compiling Tcl bytecode into LLVM IR (and hence to native code). Depends on llvmtcl. (Used to depend on tclbdd during the development of some of the compiler reasoning engine; now removed.) May form the basis for the fastest path of the Tcl execution engine in 9.0; performance is good, but dependencies are complex. 0213本田2017/10/17(火) 00:00:28.05ID:KPUGqn7o The Tcl Tensor package allows for the creation and manipulation of multidimensional numerical arrays. Formerly known as "Tns". https://core.tcl.tk/jenglish/gutter/packages/tensor.html0214本田2017/10/18(水) 06:26:10.29ID:b+U1LV46 rattleCAD - Bicycle FrameBuilding CAD - Home http://rattlecad.sourceforge.net/ rattleCAD is free and a openSource software project. rattleCAD supports bespoked bicycle frame builders with a fully parametric bicycle model inside.
とか言っちゃうやつキモいね 0218デフォルトの名無しさん2017/10/22(日) 23:23:14.67ID:URVw1Agy>>164 じゃあこのスレも必要ないな ^^ 0219デフォルトの名無しさん2017/10/23(月) 02:23:31.84ID:ZPHHOCPL Xilinxか 0220本田2017/10/23(月) 21:09:43.84ID:ovIOTrA9 Creating Great Programmers with a Software Design Studio - John Ousterhout (Stanford) https://www.youtube.com/watch?v=ajFq31OV9Bk0221本田2017/10/23(月) 21:40:10.54ID:ovIOTrA9http://www.tcl.tk/customers/success/edacad.tml Tcl has become the defacto standard embedded command language for electronic design automation (EDA) and computer-aided design (CAD) applications. 0222本田2017/10/24(火) 06:28:46.14ID:VOczPTK0 Magic VLSI - Open Circuit Design http://opencircuitdesign.com/magic/ Magic is a venerable VLSI layout tool, written in the 1980's at Berkeley by John Ousterhout, now famous primarily for writing the scripting interpreter language Tcl.