I'm glad it worked for you :)

BTW, the inline was not because it was small, but to embed the data into
code with the least amount of overhead (2-4 bytes). Other methods generate a
function body and access code (30-38 bytes), which is not necessary.

jeff 

-----Original Message-----
From: cbruner
To: Palm Developer Forum
Sent: 1/12/2006 9:17 PM
Subject: Re: Fixed string in code.

Well the problem was solved with inline assembly thanks to Jeffry
Loucks, 
but for completeness sake the code was very similar to this. The code
wasn't 
specified to be in inline, although it was small enough that it could
have 
been.


static    //tried with and without
const char *GetTimeStamp(void)
{
 return "chrisbruner"__DATE__ "&" __TIME__"someothertag";
}

Chris Bruner
Compulife Software Inc.
==============================================

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to