Sorry if this has been asked before, but I didn't find anything relevant.
KR4 KSS 8.3.422
How to initialise a structure, that has a non-char array, inside a .dat file?
With char array it's simple:
Is it possible with other types?
Some of what I tried (separately of course):
Code
struc StrucType real TestReals[12]
decl StrucType TestStruc ={TestReals[1] {3.14}}
decl StrucType TestStruc ={TestReals[] {3.14,4,8}}
decl StrucType TestStruc
TestStruc.TestReals[1] =3.14
For now initialising using a separate procedure outside dat file will have to do, but maybe there is a better way...