For most of the tokens, I understand the simple
Code:
but for some of them, they have complex things going on afterwards as shown in the notes. Here are the ones I don't know how to handle:
Token: 2Dh
Token: 32h
Token: 33-3Ah
Token: 3Bh
Token: 3Ch
Token: 3Eh
Token: 44h
There will probably be more, but those are the ones I have hit so far.
Code:
tokenvalue => 'display text',
Token: 2Dh
Quote:
Token 2Dh is an opening quote. A zero-terminated literal character string immediately follows token 2D, and the terminating zero acts as the closing quote. Example: "Hi" would be tokenized {2Dh, 48h, 69h, 00h}
Token: 32h
Quote:
Tokens 32h, 3Bh, and 3Ch are variable-name tokens. The first byte after the token is a name-length byte. Following that is a literal character string (not zero-terminated) representing the name of the variable.
Token 32h is used for the y-variables Q1 ... Q9, QI1 ... QI9, r, t, x, y and [theta].
Token 32h is used for the y-variables Q1 ... Q9, QI1 ... QI9, r, t, x, y and [theta].
Token: 33-3Ah
Quote:
Tokens 33h - 3Ah are 1- to 8-character variable name tokens, respectively. A literal character string follows (not zero-terminated).
Token: 3Bh
Quote:
Tokens 32h, 3Bh, and 3Ch are variable-name tokens. The first byte after the token is a name-length byte. Following that is a literal character string (not zero-terminated) representing the name of the variable.
Token 3Bh is used for the y-equations y1 ... y99, xt1 ... xt99, yt1 ... yt99, r1 ... r99 and Q'1 ... Q'9.
Token 3Bh is used for the y-equations y1 ... y99, xt1 ... xt99, yt1 ... yt99, r1 ... r99 and Q'1 ... Q'9.
Token: 3Ch
Quote:
Tokens 32h, 3Bh, and 3Ch are variable-name tokens. The first byte after the token is a name-length byte. Following that is a literal character string (not zero-terminated) representing the name of the variable.
Token 3Ch is used for the statistical variables a, b, corr, maxX, maxY, Med, minX, minY, n, PRegC, Qrtl1, Qrtl3, RegEq, Sx, Sy, [sigma]x, [sigma]y, [Sigma]x, [Sigma]x2, [Sigma]xy, [Sigma]y, [Sigma]y2, tolMet, [x-mean] and [y-mean].
Token 3Ch is used for the statistical variables a, b, corr, maxX, maxY, Med, minX, minY, n, PRegC, Qrtl1, Qrtl3, RegEq, Sx, Sy, [sigma]x, [sigma]y, [Sigma]x, [Sigma]x2, [Sigma]xy, [Sigma]y, [Sigma]y2, tolMet, [x-mean] and [y-mean].
Token: 3Eh
Quote:
Token 3Eh is the conversion token. Following the token is the name-length byte for the original unit, then a literal character string representing the unit's name. Following that is the name-length byte for the new unit, then a literal character string representing the new unit's name. Neither name is zero-terminated.
Token: 44h
Quote:
Token 44 is a literal-number token. Following the token is a zero-terminated literal character string that represents the number. Valid characters are the digits 0-9; the hexadecimal digits A-F; base descriptors b, h, o, and d; the period; the negation character and the exponent (E) character.
There will probably be more, but those are the ones I have hit so far.