Re: boolean sequence
- Posted by Tone Škoda <tskoda at email.si> Sep 08, 2004
- 448 views
Juergen Luethje wrote: > So I think the following functions are straightforward: > --------------------------------------------------------------------- > function put_byte (sequence_of_long s, integer number, byte val) > function get_byte_u (sequence_of_long s, integer number) > function get_byte_s (sequence_of_long s, integer number) > function find_byte_forward (sequence_of_long s, byte val) > function find_byte_reverse (sequence_of_long s, byte val) > --------------------------------------------------------------------- > > Do you want it 0-based or 1-based? > > I'll post the byte functions first. When they are OK for you, I'll > easily make the respective functions concerning small integers. That looks good. I would more like it 1-based.