Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Oct 2001 00:38:55 -0700
From:      Jordan Hubbard <jkh@freebsd.org>
To:        anarcat@anarcat.dyndns.org
Cc:        freebsd-libh@freebsd.org
Subject:   Re: basic label editor stub, take II
Message-ID:  <20011009003855G.jkh@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011009003855G.jkh>