Can you not put each string in to a string resource (Or the whole list
into a string list resource)?
Anders Green wrote:
Ok, so I moved my project in a multi-sectioned style recently.
That went smoothly enough (PODS 1.2.0.23) using EXTRA_SECTION_ONE
and so on. Now, is there anyway to get a module-scope variable
put into an extra section? For example, how would I put this
array of strings into an extra section along with the code
that's operating on it?
Cheers,
Anders
char qsos[NUM_OF_QSOS][MAX_QSO_LENGTH]={
"2M0NBR DE UB5JND UR WK SIG OM RST 349 = HR NAME IS GERRY QTH ROSTOV KN"
,"2E1SGH DE SP3IJC GE OM MNI TKS FER CALL = UR RST IS 3599 KN"
,"2M0MKM DE GM0CPM GD OM VY NICE TO QSO YOU = RST IS 479 WID SOME QSB VA"
,"G0ADD DE GM3LJE/P FB YL MARRIANE = HR NAME BENNY QTH DORES ON EAST COAST OF LOCH
NESS VA"
,"G3VVR DE W3NWL R FB OM TKS FER RPRT FRM MERRICK = 439 U R RST ES NAME HR RON
KN"
} ;
void
LookupQso(int indexOfQso, char* pBuffer)
{
StrCopy(pBuffer,qsos[indexOfQso]);
}
(....................................................
.) Anders Green
(....................................................
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/