On 10/25/07, Aaron Ardiri <[EMAIL PROTECTED]> wrote:
> > Is triggering an A5 warning, I need to do the same job without globals
> > (I have turned on PC-Relative strings and PC-Relative constants in the
> > project options, but they don't seem to fix this)
> >
> > can anyone suggest an efficient way to do this that won't end up using the
> > A5 register?
>
> a) global const
>
> put it outside of the function, not as a variable inside.

You can also try making it static const inside the function to do the
same thing... right now, the function is setting up an array on the
stack then copying from global memory on each call to the function.

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to