Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/03/02 00:17
Read: times


 
#31908 - RE: KEIL: How to send a table to a function
"In C language when you declare [sic] a variable as:
U8 picture[]={...some data...};"


OK, since the root of the original problem is a failure to appreciate the difference between a definition and a declaration, I think now is the time to be pedantic about those terms:

The example given above is a definition - not a declaration:
A Definition is what actually creates executable code, or allocates memory;
A Declaration simply provides information to the compiler about an object - it does not create any executable code, nor allocate any memory. You cannot provide an initialiser in a Declaration.

List of 11 messages in thread
TopicAuthorDate
KEIL: How to send a table to a function            01/01/70 00:00      
RE: KEIL: How to send a table to a function            01/01/70 00:00      
RE: KEIL: How to send a table to a function            01/01/70 00:00      
RE: KEIL: How to send a table to a function            01/01/70 00:00      
RE: KEIL: How to send a table to a function            01/01/70 00:00      
RE: KEIL: How to send a table to a function            01/01/70 00:00      
RE: KEIL: How to send a table to a function            01/01/70 00:00      
RE: KEIL: How to send a table to a function            01/01/70 00:00      
RE: KEIL: How to send a table - James            01/01/70 00:00      
RE: KEIL: A-men Andy            01/01/70 00:00      
RE: KEIL: global variables            01/01/70 00:00      

Back to Subject List