comp.lang.ada
 help / color / mirror / Atom feed
* Re: operation on bits
  1998-11-18  0:00 operation on bits alex
@ 1998-11-18  0:00 ` Jacob Sparre Andersen
  0 siblings, 0 replies; 2+ messages in thread
From: Jacob Sparre Andersen @ 1998-11-18  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

alex <cpp4@usa.net> writes:

>How do I change a bit inside byte using ada Like i'd do with assembler ?

Use the "and" and "or" functions. You could also map a byte to an array
of booleans.
-- 

Jacob

----------------------------------------------------------------------------
--  Jacob Sparre Andersen     --  E-mail: Jacob.Sparre.Andersen@risoe.dk  --
--  National Laboratory Ris�  --  Phone.: (+45) 46 77 51 23               --
--  Systems Analysis          --  Fax...: (+45) 46 77 51 99               --
----------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] 2+ messages in thread

* operation on bits
@ 1998-11-18  0:00 alex
  1998-11-18  0:00 ` Jacob Sparre Andersen
  0 siblings, 1 reply; 2+ messages in thread
From: alex @ 1998-11-18  0:00 UTC (permalink / raw)


How do I change a bit inside byte using ada Like i'd do with assembler ?




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-11-18  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-18  0:00 operation on bits alex
1998-11-18  0:00 ` Jacob Sparre Andersen

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