Re: a history question
From: Arjen Markus (arjen.markus_at_wldelft.nl)
Date: 09/29/04
- Next message: Rich Townsend: "Re: a history question"
- Previous message: Richard Edgar: "Re: a history question"
- In reply to: Richard Edgar: "Re: a history question"
- Next in thread: Rich Townsend: "Re: a history question"
- Reply: Rich Townsend: "Re: a history question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Sep 2004 14:48:18 +0200
Richard Edgar wrote:
>
> Arjen Markus wrote:
>
> > Well, in my library I keep track of the proper types myself (it is
> > done as a string indicating the data type), but the thing is that the
> > compiler still has access to the interfaces of all routines (they are
> > contained in a module) and I can still store different types of data
> > with one version of my source code.
>
> So it's a runtime check to stop (say) REALs being added to a tree which
> is supposed to be holding INTEGERs?
>
> Richard
If you want a tree that holds only integers, yes, but you can use it to
store reals and integers at the same time ...
Regards,
Arjen
- Next message: Rich Townsend: "Re: a history question"
- Previous message: Richard Edgar: "Re: a history question"
- In reply to: Richard Edgar: "Re: a history question"
- Next in thread: Rich Townsend: "Re: a history question"
- Reply: Rich Townsend: "Re: a history question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|