On 10/25/07, Rob <[EMAIL PROTECTED]> wrote: > I was surprised to find that > > Char timeString[timeStringLength]=""; > > was being treated as a global...
that is because you have effectively allocated a buffer of length timeStringLength with NULLs. if you are to use it, it is natural that you are going to change the string, so, it has to be in a read-write memory location, hence the use of globals. pc-relative information is for constant data. ie: const Char timeString[10] = "my string"; can be assumed read-ony. -- // Aaron Ardiri -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/