Hi all,
I got some code from a colleague, when compiling, i notice i get errors when pointing to eeprom.
for example:
i have a boolean stored in eeprom:
Set_value[$08C8] : boolean;
UParaPntr : pointer;
UParaPntr:= (@Set_value);
The compiler givers me the error:
"Error: Pointer to EEprom not possible"
When my colleague compiles, everyting works fine.
I know i need to call a special function to get/set the value in eeprom using a pointer.
but it goes wrong when i make the pointer refere to the eeprom address..
Do i have to set some special bit to enable pointers to EEprom?
The only difference between my version and the one of my colleague is that he has a newer version of the compiler.
(i am working with revision 5.04.32, but when i read the changes since my version, i notice nothing about pointer to eeprom)
Regards,
Flor
I got some code from a colleague, when compiling, i notice i get errors when pointing to eeprom.
for example:
i have a boolean stored in eeprom:
Set_value[$08C8] : boolean;
UParaPntr : pointer;
UParaPntr:= (@Set_value);
The compiler givers me the error:
"Error: Pointer to EEprom not possible"
When my colleague compiles, everyting works fine.
I know i need to call a special function to get/set the value in eeprom using a pointer.
but it goes wrong when i make the pointer refere to the eeprom address..
Do i have to set some special bit to enable pointers to EEprom?
The only difference between my version and the one of my colleague is that he has a newer version of the compiler.
(i am working with revision 5.04.32, but when i read the changes since my version, i notice nothing about pointer to eeprom)
Regards,
Flor