Cool!  I'll give it a try.

Dave

Ben Combee <[EMAIL PROTECTED]> wrote in message
news:47998@palm-dev-forum...
>
> "David Leland" <[EMAIL PROTECTED]> wrote in message
> news:47903@palm-dev-forum...
> >
> > Are there any compiler options that might affect arrays?
>
> If you want this to be a global array and work in non-global launches,
> you could write
>
> #pragma pcrelconstdata on
>
> static const Int32 baudRateTable[] =
> {115200,57600,38400,28800,19200,14400,9600,4800,2400,1200,600,300};
>
> which would allocate the constant array to the text (code) segment.
>
> --
> Ben Combee, [EMAIL PROTECTED]
> Techwood Broadcasting Foundation, Austin Bureau
>
>
>
>



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

Reply via email to