[Oberon] Displacement vector in Mail.

Joerg joerg.straube at iaeth.ch
Sat Dec 16 08:40:01 CET 2023


Google Boyer-Moore.
br
Jörg

> Am 16.12.2023 um 07:52 schrieb peter at easthope.ca:
> 
> Another detail I'm trying to understand.
> 
> Mail.LoadMsgs declares a displacement vector, div.
> https://en.wikibooks.org/wiki/Oberon/A2/Oberon.Mail.Mod#div
> 
> It's calculated here.
> https://en.wikibooks.org/wiki/Oberon/A2/Oberon.Mail.Mod#CalcDispVec
> 
> A similar displacement vector is in the TextSearch further down in the
> module source.
> 
> Search finds the location of a pattern.  I don't understand why a
> displacement vector is needed.  What is the role of the displacement
> vector.
> 
> Thanks,                          ... P.L.
> 
> 
> --
> VoIP:   +1 604 670 0140
> work: https://en.wikibooks.org/wiki/User:PeterEasthope
> 
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon


More information about the Oberon mailing list