OK, just discovered what I think is a bug of some sort. I have a project i'm working on, it uses a data section that looks like this:
Code: Select all
DataSection
Mac_aUnk:
Data.s "5254AB", "E20C0F", "080089", "080002", "00C0EF", "000150"
Data.s "00E098", "00E081", "00E07D", "00E018", "004010", "00104B"
Data.s "00C04F", "00A0CC", "006008", "0040FF", "0019B9", "00067C"
Data.s "0010A4", "0004AC", "0000E1", "00A04B", "004027", "0006C1"
Data.s "000214", "0013F7", "001150", "000d88", "000C41", "000086"
Data.s "525400", "001310", "00045A", "000625", "001839", "009004"
Data.s "000F66", "001217", "0014BF", "0016B6", "00105A", "002061"
Data.s "00095B", "000FB5", "00146C", "00184D", "000D88", "00608C"
Data.s "00173F", "0030BD", "000E3B", "00055D", "00177C", "006094"
Data.s "000F3D", "001195", "001346", "0015E9", "004001", "006097"
Data.s "00179A", "0050BA", "0080C8", "001349", "00E08F", "00603E"
Data.s "00A0C5", "0004E2", "000BC5", "08008A", "08BBCC", "006052"
EndDataSection
Total 72 items ( 0 - 71), and i'm reading them like this:
Code: Select all
#Nb_MacUnk = 71
Dim Mac_aUnk.s(#Nb_MacUnk)
For k=0 To #Nb_MacUnk
Read Mac_aUnk(k)
Next
and I call them like this to get a random selection from that list:
If I include the "COMate.pbi":
That data section is no longer read properly and returns what looks like either unicode characters or garbage, sometimes nothing is returned. However, if I comment out the XIncludeFile "COMate.pbi" everything returns to normal and works fine.
So I thought, "OK, i'll compile it in unicode", with the XIncludeFile "COMate.pbi" in place it never compiles and crashes (no error, just a stopped responding) but if I comment out the XIncludeFile "COMate.pbi" it compiles fine.