View Single Post
  #5   Spotlight this post!  
Unread 05-12-2004, 17:36
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Arrays on the PIC?

Quote:
Originally Posted by scitobor 617
I plan to place a maximum of 240 bytes into an array.
Just wanted to mention that while single dimension arrays work as expected, there are some oddities in the mcc18 implementation of C with multi-dimensional arrays, e.g., char abc[10,5]. Especially, differences between how a multi-dimensional array behaves in rom vs. in ram space when passed by address to another routine. If you plan on doing this I suggest experimenting first with a test program.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle