comp.lang.ada
 help / color / mirror / Atom feed
From: Joel Rudy <jrudy@osf1.gmu.edu>
Subject: Bitwise "OR" for ada
Date: 1997/01/09
Date: 1997-01-09T00:00:00+00:00	[thread overview]
Message-ID: <Pine.OSF.3.91.970109130027.809A-100000@osf1.gmu.edu> (raw)


Is there any way to do a bitwise or operation on strings in Ada 83? 

For example =>

clean_String := "AAA";
template     := "LLL";

result := clean_string or template;

Then result would equal "MMM".

I know that or will give you a set, so the real result would equal "AL".  
I am more interested in the bitwise or, not the or that is provided with Ada.

Thanks for your help.

Joel Rudy

PS -- please respond to the group or to me personally at 
joel.rudy@comm.hq.af.mil.




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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-09  0:00 Joel Rudy [this message]
1997-01-10  0:00 ` Bitwise "OR" for ada Matthew Heaney
replies disabled

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