From owner-freebsd-libh Tue Oct 9 0:39:59 2001 Delivered-To: freebsd-libh@freebsd.org Received: from winston.freebsd.org (adsl-64-173-15-98.dsl.sntc01.pacbell.net [64.173.15.98]) by hub.freebsd.org (Postfix) with ESMTP id EC6CD37B41C for ; Tue, 9 Oct 2001 00:39:47 -0700 (PDT) Received: from localhost (jkh@localhost [127.0.0.1]) by winston.freebsd.org (8.11.6/8.11.6) with ESMTP id f997ctH54737; Tue, 9 Oct 2001 00:38:57 -0700 (PDT) (envelope-from jkh@freebsd.org) To: anarcat@anarcat.dyndns.org Cc: freebsd-libh@freebsd.org Subject: Re: basic label editor stub, take II In-Reply-To: <20011008185737.G83944@shall.anarcat.dyndns.org> References: <20011008142300.B53336@shall.anarcat.dyndns.org> <20011008133800B.jkh@freebsd.org> <20011008185737.G83944@shall.anarcat.dyndns.org> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20011009003855G.jkh@freebsd.org> Date: Tue, 09 Oct 2001 00:38:55 -0700 From: Jordan Hubbard X-Dispatcher: imput version 20000228(IM140) Lines: 25 Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > this seems more appropriate to me. The proc could be seen as a "dynamic > converter" between the int and the char*. So instead of doing: > > set d [Disk "ad0"] > d type_text > > you would do: > > type_text [d type] > > (right?) Sure! :) There are obviously various ways you could implement it, but it's all pretty much "6 of this, a half-dozen of that." > Please remember that I'm new to the mighty H and that I do not clearly > understand the relations between the C and TCL api... Ring if I'm > talking nonsense. :) Well, you should definitely take the time to read up on TCL's C API if you don't want to miss out on all of the options you have available for splicing the two languages together, but you seem to be getting things just fine so far! - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message