Anonymous user
Address of a variable: Difference between revisions
m
→{{header|Ada}}: added code highlighting
m (Added to <10 category, corrected spelling) |
m (→{{header|Ada}}: added code highlighting) |
||
Line 5:
=={{header|Ada}}==
===Get The Address===
I : Integer;
The_Address := I'Address;</ada>
===Set The Address===
Set the address of a variable to address A100 in hexadecimal
for I'Address use 16#A100#;</ada>
Set the address of one variable to the address of another variable, creating an overlay.
J : Integer;
For I'Address use J'Address;</ada>
=={{header|C sharp|C #}}==
|