comp.lang.ada
 help / color / mirror / Atom feed
From: kilgallen@eisner.decus.org (Larry Kilgallen)
Subject: Re: Ada95/Mil-Std-1553 Problem (Long Post - Sorry About That)
Date: 1997/01/15
Date: 1997-01-15T00:00:00+00:00	[thread overview]
Message-ID: <1997Jan14.203917.1@eisner> (raw)
In-Reply-To: 97011417264268@psavax.pwfl.com


In article <97011417264268@psavax.pwfl.com>, "Marin David Condic, 561.796.8997, M/S 731-93" <condicma@PWFL.COM> writes:

>     Is there a way with tagged records to control the position/content
>     of any and all tag data? (In a manner that is reasonably close to
>     portable so that it's not dependent on, for example,
>     implementation X uses a 16 bit integer for a tag vs implementation
>     Y uses a 32 bit integer...) In other words, if I can guarantee that
>     the tag data will occur at the end (or beginning?) of the record
>     and/or that it will occupy exactly N bytes, I think I can figure out
>     how to solve my send/receive problems. It would be better if I
>     could control the *value* of the tag, but I'll settle for knowing
>     where it is so I can strip it off.

I don't know how you could control the size.

I would think you could ensure it was at the end by using
representation clauses for all the other elements of the records,
essentially "filling up" the beginning so there is no space left
for the tag data except at the end.

Larry Kilgallen




  reply	other threads:[~1997-01-15  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-14  0:00 Ada95/Mil-Std-1553 Problem (Long Post - Sorry About That) Marin David Condic, 561.796.8997, M/S 731-93
1997-01-15  0:00 ` Larry Kilgallen [this message]
1997-01-16  0:00   ` Richard Kenner
  -- strict thread matches above, loose matches on Subject: below --
1997-01-20  0:00 Marin David Condic, 561.796.8997, M/S 731-93
1997-01-12  0:00 Marin David Condic, 561.796.8997, M/S 731-93
1997-01-13  0:00 ` Amy Hartsough
1997-01-13  0:00 ` Michael F Brenner
1997-01-14  0:00 ` Brad Balfour
replies disabled

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