Text Variations

version 4 by Jon Ingold

  • Home page
  • Beginning
  • Previous
  • Next



  • Part 4 - calculating and locating hashes

    To say tip buffer (n - a number):
    (- Tipbuffer({n});
    -)

    To decide which number is the hash of the buffer: (- (hash_buffer()) -).
    To decide which number is the upper buffer limit: (- (__bc()) -).
    To decide which number is the current trow: (- (ct_1) -)

    To decide which number is the row with hash (k - a number):
        if there is no hash of k in the Table of Hash Numbers, decide on 0;
        choose row with a hash of k in the Table of Hash Numbers;
        decide on the current trow;