Code: Select all
Structure Blk
Dim PPCheck As Char[5]
PPAmount As Char[8]
PPMin As Char[5]
VolSpkr As Char[5]
VolMicr As Char[5]
ConnectMax As Char[5]
HotDialDel As Char[5]
Provider As Char[5]
OutTime As Char[5]
InState As Char[5]
MeldTijd As Char[5]
OK As Word
HotdialNr As Char[16]
MeldNr As Char[16]
SMSNr As Char[16]
MenuPin As Char[8]
PPPrefix As Char[8]
Allowed As Char[160]
Contact As Char[160]
OutRepeat As Char[5]
End Structure
Dim Parm As Blk
Dim ParmBuff As Char[580] At Parm
Why doesn't it work? I need to be able to address the memory area as separate parameters, and as a continous character array.
(this for writing the struct contents to flash)
If I check with statistics, they are neatly defined at the same memory location...