Revision history for KeyPgHiword


Revision [20261]

Last edited on 2016-02-10 16:01:06 by DkLwikki [Update link format]
Additions:
[[KeyPgPpdefine|#define]] **Hiword**( //expr// ) (([[KeyPgCast|Cast]]([[KeyPgUinteger|Uinteger]], //expr//) and &hFFFF0000) [[KeyPgOpShiftRight|shr]] 16)
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 16bit word - that is the most-significant (high) 16bit word of the least-significant (low) 32bit dword of //expr//.
- Not available in the //[[CompilerOptlang|-lang qb]]// dialect unless referenced with the alias ##**""__HIWORD""**##.
- ##[[KeyPgLoByte|Lobyte]]##
- ##[[KeyPgHibyte|Hibyte]]##
- ##[[KeyPgLoWord|Loword]]##
Deletions:
[[KeyPgPpdefine #define]] **Hiword**( //expr// ) (([[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//) and &hFFFF0000) [[KeyPgOpShiftRight shr]] 16)
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 16bit word - that is the most-significant (high) 16bit word of the least-significant (low) 32bit dword of //expr//.
- Not available in the //[[CompilerOptlang -lang qb]]// dialect unless referenced with the alias ##**""__HIWORD""**##.
- ##[[KeyPgLoByte Lobyte]]##
- ##[[KeyPgHibyte Hibyte]]##
- ##[[KeyPgLoWord Loword]]##


Revision [17362]

Edited on 2014-10-24 08:39:17 by DkLwikki [Update for 64bit]
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 16bit word - that is the most-significant (high) 16bit word of the least-significant (low) 32bit dword 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 16bit word - that is the most-significant (high) 16bit word of the least-significant (low) 32bit dword of //expr//.


Revision [17356]

Edited on 2014-10-24 08:35:25 by DkLwikki [Update for 64bit]
Additions:
Returns the value of the high 16bit word of the low 32bit dword of //expr//.
Deletions:
Returns the value of the most-significant 16bit word of the least-significant 32bit dword of //expr//.


Revision [17354]

Edited on 2014-10-24 08:33:00 by DkLwikki [Update for 64bit]
Additions:
Gets the second 16bit word of the operand.
Deletions:
Gets the high 16bit of the low 32bit of the operand value.


Revision [17352]

Edited on 2014-10-24 08:31:26 by DkLwikki [Update for 64bit]
Additions:
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 16bit word - that is the most-significant (high) 16bit word of the least-significant (low) 32bit dword 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 the second 16bit word of the operand - that is the most-significant (high) 16bit word of the least-significant (low) 32bit dword of the operand.


Revision [17351]

Edited on 2014-10-24 08:30:15 by DkLwikki [Update for 64bit]
Additions:
Returns the value of the most-significant 16bit word of the least-significant 32bit dword of //expr//.
Deletions:
Returns the value of the most-significant 16bit word of the least-significant 32bit dword of the operand.


Revision [17350]

Edited on 2014-10-24 08:28:00 by DkLwikki [Update for 64bit]
Additions:
Returns the value of the most-significant 16bit word of the least-significant 32bit dword of the operand.
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of the second 16bit word of the operand - that is the most-significant (high) 16bit word of the least-significant (low) 32bit dword of the operand.
Deletions:
Returns the value of the least-significant 16bit word of the most-significant 32bit dword of the operand.
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of the least-significant (high) 16bit word of the most-significant (low) 32bit dword of the operand.


Revision [17349]

Edited on 2014-10-24 08:25:29 by DkLwikki [Update for 64bit]
Additions:
Gets the high 16bit of the low 32bit of the operand value.
[[KeyPgPpdefine #define]] **Hiword**( //expr// ) (([[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//) and &hFFFF0000) [[KeyPgOpShiftRight shr]] 16)
Returns the value of the least-significant 16bit word of the most-significant 32bit dword of the operand.
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an ##[[KeyPgUinteger Uinteger]]## representing the value of the least-significant (high) 16bit word of the most-significant (low) 32bit dword of the operand.
Deletions:
Gets the most-significant word (MSW, or //hi-word//) of an ##[[KeyPgUinteger Uinteger]]## value.
[[KeyPgPpdefine #define]] **Hiword**( //expr// ) ( [[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//) [[KeyPgOpShiftRight shr]] 16 )
Returns the MSW value 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 its MSW.


Revision [15845]

Edited on 2012-01-25 15:34:38 by CountingPine [Formatting]
Additions:
Returns the MSW value of ##[[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//)##.
Deletions:
Returns the MSW value of `##[[KeyPgCast Cast]]([[KeyPgUinteger Uinteger]], //expr//)##`.


Revision [15844]

Edited on 2012-01-25 15:26:51 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 its MSW.
Deletions:
This macro converts the numeric expression ##//expr//## to an ##[[KeyPgUinteger Uinteger]]## value, then expands to an [[KeyPgUinteger Uinteger]] representing the value of its MSW.


Revision [14355]

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


Revision [14031]

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


Revision [13382]

The oldest known version of this page was created on 2008-05-21 17:45:33 by LaananFisher [Updated: minor formatting]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode