Forum > Beginners
[Solved] Compiler allows un-indexed Array as Absolute argument- is this desired?
TRon:
--- Quote from: Martin_fr on July 18, 2024, 12:59:16 am ---"Absolute" is not type safe. And it isn't meant to be afaik. In fact it is often used as a way to access on variable as something of another type.
--- End quote ---
It is indeed not meant to be typesafe.
If it would then it would render the use of it useless and not compatible to its original implementation.
Therefor always handle the use of the absolute modifier with care when using it.
jamie:
Real men program in Assembler, some may even use "Absolute" occasionally!
440bx:
"absolute" is handy to access Windows USER_SHARED_DATA which is always at the same address.
"absolute" is one of FPC's best features.
silvercoder70:
Or... Absolute(ly)
:)
marcov:
--- Quote from: jamie on July 19, 2024, 01:57:33 am ---Real men program in Assembler, some may even use "Absolute" occasionally!
--- End quote ---
Only in combination with goto's !
Navigation
[0] Message Index
[#] Next page
[*] Previous page