Geetha Arasu wrote:

I am getting an error message in this particular line (b=i*i)- relocation
truncation to fit in this function..

Try reducing your code segment size. Break your code into multiple segments if you have not already done so (you may need to break them up more).


 I have checked with the datatypes and tried even reducing the value of i..
Still the same error.. any  suggestions

long a = 0;
        long b = 0;
         long  i = 0;
for(i = 0; i < 99999999; i=i+100) { b = i*i ; // error - relocation truncation to fit
                if(a < b)
                {
                        i = i - 100;
                        break;
                }
        }
}




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

Reply via email to