Truncated match.
PICList
Thread
'C- programing problem'
1997\05\29@111818
by
Wynand Lochner
Hi
I am trying to define a static string in C using Mplabc for the
16c84.The command : static char newstr[ ] = {a,b,c};
causes the characters to be placed in the ram registers and not in
the code as required.
Any idears
W Lochner
1997\05\29@125044
by
Andrew Warren
1997\05\30@055742
by
Scott Walsh
Wynand,
what you really want is to make it a
const static <type> <variable>
MPLABC is not ANSI so the const keyword may not be implemented! Just try
it. Hope this helps.
regards,
ScotT.
______________________________ Reply Separator _________________________________
Subject: C- programing problem
Author: pic microcontroller discussion list <PICLIST
KILLspamMITVMA.MIT.EDU> at
INTERNET
Date: 29/05/97 17:05
Hi
I am trying to define a static string in C using Mplabc for the
16c84.The command : static char newstr[ ] = {a,b,c};
causes the characters to be placed in the ram registers and not in
the code as required.
Any idears
W Lochner
More... (looser matching)
- Last day of these posts
- In 1997
, 1998 only
- Today
- New search...