Missing description RTL unit system, functions Hi and Lo with type Byte = Nibble
Original Reporter info from Mantis: gvs
-
Reporter name:
Original Reporter info from Mantis: gvs
- Reporter name:
Description:
The return of Nibbles is not documented.
The functions Hi and Lo return for type Byte the corresponding Nibble.
For Hi the Description could be:
--------------------------------
Change: Hi returns the high nibble, byte or word from X, depending on the size of X.
Delete: Hi cannot be invoked on types of size 1, such as byte or char.
Add: If the size of X is 1 then the high nibble is returned.
Add to Example Hi:
------------------
var B : Byte;
B:= 240; { = $F0 }
Writeln (Hi(B)); { Prints 15 }
For Lo the Description could be:
--------------------------------
Add: Lo returns the low nibble of its argument if this is of type Byte.
Add to Example Lo:
------------------
var B : Byte;
B:= 240; { = $F0 }
Writeln (Lo(B)); { Prints 0 }
Mantis conversion info:
- Mantis ID: 25581
- Version: 2.6.3
- Fixed in version: 3.0.0
- Fixed in revision: 1062 (#019bc139)
- Target version: 2.6.4