Re: boolean sequence

new topic     » goto parent     » topic index » view thread      » older message » newer message

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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu