Page 1 of 1

Posted: Mon Dec 23, 2002 2:16 pm
by BackupUser
Restored from previous forum. Originally posted by talun.

Hi,
I'm intersted to know if the names of the members of the structures are case sensitive. From the help file seems that they are case insensitive but by compiling the following piece of code with PBCompiler 3.40, I have a error message: "Offset not found in this structure". If I use the uppercase all works fine

Any suggestion?

thanks
Sergio

Structure mytest
AAA.l
BBB.s
EndStructure

DefType.mytest dummy

dummy\aaa = 123
dummy\bbb = "qqqq"

Debug dummy\aaa
Debug dummy\bbb

End

Posted: Fri Dec 27, 2002 12:27 pm
by BackupUser
Restored from previous forum. Originally posted by Froggerprogger.

Yes, structure-elements are case-sensitive. It tooks some time for me, to find this out on my own, too. A small (or even big :wink: hint in the helpfile would be very helpful.

Purebasic - what a nice name for a girl-friend

Posted: Fri Dec 27, 2002 2:08 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

I will change that to make it cas insensitive. Thanks for your report !

Fred - AlphaSND