Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
TCL の Itcl パッケージには、common キーワードを使用してクラスとそのクラスの静的メンバーを定義する方法があります。しかし、共通変数がプライベートまたはパブリックとして宣言されているのを見たことがありませんか? 私たちはそれを行うことができますか?いいえの場合、なぜですか?
itcl のドキュメントには、キーワード { private, public, protected } を { method, proc, variable or common } の前に配置できると記載されているため、答えはイエスです。
参照: http://www.tcl.tk/man/itcl3.1/class.n.html