Logiweb(TM)

7.1.9.8 The body

Prev Up Next Page 165 of 800 Search internet


The body of the vector of

"";;015B62F7DBABF8F0AEFE73374B36AE157FCF4F9390DFA1A68A89CCBB0806
""P tiny
""R base
""D 0
f ( " )
g (",",")
""B
f ( x ) + "abc"

has the following structure:

BODY

" + "        154 009
f ( " )      003
x            082
"abc"        000 003 097 098 099

The body of the vector is the body of the page expressed in Polish prefix. Thus, the body of the vector consists of the plus operator, the f operator, the x variable, and the string 'abc' in that order.

The plus operator is represented by the natural

1 + N * I + R = 1 + 2 * 588 + 1 = 1178

where N=2 is the number of references of the bibliography, I=588 is the index of the plus operator in the base page, and R=1 is the relative reference of the base page, i.e. the position of the base page in the bibliography of the tiny page. The bibliography of the tiny page has two entries where entry number zero is the tiny page itself and entry number one is the base page. The natural is expressed in septet representation.

Likewise, f ( " ) is represented by

1 + N * I + R = 1 + 2 * 1 + 0 = 3

and x is represented by

1 + N * I + R = 1 + 2 * 40 + 1 = 82

The string 'abc' is represented as a zero followed by the length of the string in septet representation followed by the string expressed in Unicode UTF-8. The length of the string is given in bytes, not in number of UTF-8 characters. The string 'abc' has length three because it takes up three bytes. It also happens to contain three characters, but it is the number of bytes which counts.

Prev Up Next Page 165 of 800 Search logiweb.eu

Copyright © 2010 Klaus Grue, GRD-2010-01-05