Absolute address |
Top Previous Next |
What is translated > Absolute address
By the word absolute a variable can be declared in Delphi that resides at the same address as an existing variable. This behavior is reproduced in C++ by declaring the new variable as a reference to the existing variable. If necessary according typecast's are inserted.
var Size: Int64; SizeRec: TInt64Rec absolute Size;
->
__int64 Size = 0; TInt64Rec& SizeRec = *(TInt64Rec*) &Size;
|
This page belongs to the Delphi2Cpp Documentation |
Delphi2Cpp home Content |