Revision history for KeyPgHibyte


Revision [20260]

Last edited on 2016-02-10 16:01:05 by DkLwikki [Update link format]
Additions:
[[KeyPgPpdefine|#define]] **Hibyte**( //expr// ) (([[KeyPgCast|Cast]]([[KeyPgUinteger|Uinteger]], //expr//) [[KeyPgOpAnd|and]] &h0000FF00) [[KeyPgOpShiftRight|shr]] 8)
A numeric expression, converted to an ##[[KeyPgUinteger|Uinteger]]## value.
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger|Uinteger]]## value, then expands to an ##[[KeyPgUinteger|Uinteger]]## representing the value of its second byte - that is the most-significant (high) byte of the least-significant (low) 16bit word of //expr//.
- Not available in the //[[CompilerOptlang|-lang qb]]// dialect unless referenced with the alias ##**""__HIBYTE""**##.
- ##[[KeyPgLoByte|Lobyte]]##
- ##[[KeyPgLoWord|Loword]]##
- ##[[KeyPgHiword|Hiword]]##
Deletions:
[[KeyPgPpdefine #define]] **Hibyte**( //expr// ) (([[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//) [[KeyPgOpAnd and]] &h0000FF00) [[KeyPgOpShiftRight shr]] 8)
A numeric expression, converted to an ##[[KeyPgUinteger Uinteger]]## value.
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of its second byte - that is the most-significant (high) byte of the least-significant (low) 16bit word of //expr//.
- Not available in the //[[CompilerOptlang -lang qb]]// dialect unless referenced with the alias ##**""__HIBYTE""**##.
- ##[[KeyPgLoByte Lobyte]]##
- ##[[KeyPgLoWord Loword]]##
- ##[[KeyPgHiword Hiword]]##


Revision [17364]

Edited on 2014-10-24 08:39:56 by DkLwikki [Make similar to KeyPgHiword]
Additions:
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of its second byte - that is the most-significant (high) byte of the least-significant (low) 16bit word of //expr//.
Deletions:
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of //expr//'s second byte - that is the most-significant (high) byte of the least-significant (low) 16bit word of //expr//.


Revision [17358]

Edited on 2014-10-24 08:36:48 by DkLwikki [Make similar to KeyPgHiword]
Additions:
Gets the second byte of the operand.
[[KeyPgPpdefine #define]] **Hibyte**( //expr// ) (([[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//) [[KeyPgOpAnd and]] &h0000FF00) [[KeyPgOpShiftRight shr]] 8)
Returns the value of the high byte of the low 16bit word of //expr//.
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of //expr//'s second byte - that is the most-significant (high) byte of the least-significant (low) 16bit word of //expr//.
Deletions:
Gets the most-significant byte (MSB, or //hi-byte//) of the least-significant word (LSW, or //lo-word//) of an ##[[KeyPgUinteger Uinteger]]## value.
[[KeyPgPpdefine #define]] **Hibyte**( //expr// ) ( ( [[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//) [[KeyPgOpAnd and]] &h0000FF00 ) [[KeyPgOpShiftRight shr]] 8 )
Returns the MSB value of the LSW of ##[[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//)##.
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of the MSB of its LSW. It behaves as ##[[KeyPgHibyte Hibyte]]([[KeyPgLoWord Loword]](//expr//))##.


Revision [16275]

Edited on 2012-08-15 15:13:19 by CountingPine [Remove '`'s]
Additions:
Returns the MSB value of the LSW of ##[[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//)##.
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of the MSB of its LSW. It behaves as ##[[KeyPgHibyte Hibyte]]([[KeyPgLoWord Loword]](//expr//))##.
Deletions:
Returns the MSB value of the LSW of `##[[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//)##`.
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of the MSB of its LSW. It behaves as `##[[KeyPgHibyte Hibyte]]([[KeyPgLoWord Loword]](//expr//))##`.


Revision [15857]

Edited on 2012-01-26 18:12:20 by CountingPine [Formatting]
Additions:
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of the MSB of its LSW. It behaves as `##[[KeyPgHibyte Hibyte]]([[KeyPgLoWord Loword]](//expr//))##`.
Deletions:
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an [[KeyPgUinteger Uinteger]] representing the value of the MSB of its LSW. It behaves as `##[[KeyPgHibyte Hibyte]]([[KeyPgLoWord Loword]](//expr//))##`.


Revision [14354]

Edited on 2009-08-29 21:54:25 by CountingPine [Remove CamelCase links in "New to FreeBASIC"]
Additions:
- New to ""FreeBASIC""
Deletions:
- New to FreeBASIC


Revision [14033]

Edited on 2008-12-13 13:01:14 by LaananFisher [Updated: minor formatting]
Additions:
//result// = **Hibyte**( //expr// )
Deletions:
//result// = **Hibyte**(//expr//)


Revision [13407]

The oldest known version of this page was created on 2008-05-31 14:04:39 by JeffMarshall [Updated: minor formatting]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode