comp.lang.ada
 help / color / mirror / Atom feed
From: "Warren W. Gay VE3WWG" <ve3wwg@home.com>
Subject: Re: Ada0x Enhancement? Was: Tags.Internal_Tag(String'Input(Stream)) ??
Date: Fri, 29 Dec 2000 14:32:05 GMT
Date: 2000-12-29T14:32:05+00:00	[thread overview]
Message-ID: <3A4C9FBF.298B097@home.com> (raw)
In-Reply-To: pOW26.53057$A06.1605855@news1.frmt1.sfba.home.com

tmoran@acm.org wrote:
> 
> >upon String'Input() to read in the tag (which is the problem
> >here). String'Input() insists on reading dope info that describes
> >how long the tag string is (the array bounds actually).
>   Ah, now I understand why you said the dope vector came before the
> tag.  You were refering to the dope vector of the external tag itself.
> 
> >Additionally, Microsoft's stupid Wave format often provides ...
> MS's bmp file format has some of the same delightful characteristics.
> Claw.Bitmaps.Root_DIBitmap_Type'Class'Input reads the bmp header,
> then does a series of
>   elsif (header says it's a VGA type 256 color bitmap)
>     declare
>       Result : Claw.Bitmaps.VGA_DIBitmap_Type(Height=> ...
> It's tedious and unpleasant to code, but the end result is worthwhile.

It also turns out that there are some advantages to doing it this
way. There is a whole group of chunks that can be contained within
one tagged record type ( LIST(INFO) member chunks for example ). Doing 
it the other way, I'd have to define 23 different tagged records with
matching tags, but with the exact same structure.

-- 
Warren W. Gay VE3WWG
http://members.home.net/ve3wwg



  reply	other threads:[~2000-12-29 14:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3A4AC329.9C2A311A@home.com>
2000-12-28  6:19 ` Tags.Internal_Tag(String'Input(Stream)) ?? tmoran
2000-12-28 15:06   ` Warren W. Gay VE3WWG
2000-12-28 15:02 ` In Plain Text: " Warren W. Gay VE3WWG
2000-12-28 15:54   ` Ted Dennison
2000-12-28 18:32     ` Warren W. Gay VE3WWG
2000-12-28 19:44       ` Ted Dennison
2000-12-29  2:20         ` Warren W. Gay VE3WWG
2000-12-29  3:20           ` tmoran
2000-12-29  3:04   ` tmoran
2000-12-29  5:29     ` Ada0x Enhancement? Was: " Warren W. Gay VE3WWG
2000-12-29  7:11       ` tmoran
2000-12-29 14:32         ` Warren W. Gay VE3WWG [this message]
2000-12-30  5:55       ` External_Tag: Why? was " tmoran
2000-12-31 22:17         ` Randy Brukardt
2001-01-01 16:50           ` Warren W. Gay VE3WWG
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox