¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: MPLAB IDE Help/C# Programming


"msilv3r"
 

Interesting Nick. Thanks for the info. Marc Bury, thanks for the correction.

--- In NEONIXIE-L@..., Marc Bury <marc_bury@...> wrote:



Some good remarks were made (use of #define for instance).

I have another one:
in the C language, all array adresses are 0 based, so if you declare "unsigned char outNum[6];",
?you should only access outNum[0] through outNum[5], exactly 6 elements and no more.
?
So reading outNum[6] in line 56 and following will return undefined value.
Writing to this area may?break the stack and crash your program.

Join [email protected] to automatically receive all group messages.