View Single Post
  #1   Spotlight this post!  
Unread 15-02-2007, 17:55
oddjob oddjob is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Earth
Posts: 118
oddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to behold
const array - 'auto' compile error ?

I have this User Code in OperatorControl immediately after the Variable block:

Code:
rom const unsigned char L3[] = {000,001};
There is a compile error "local 'L3' in program memory can not be auto". This is just a test before I use larger arrays - what's wrong with the code?