Douglas Stemen wrote: > FB 5 ungracefully quits if there is a zero division like 0/0. FB 4 just returns a zero. Unfortunately, with the thousands of variables and equations in my program this can happen. > Is there an easy universal way to stop/trap the program quitting when there is a 0/0 situation so I do not have to modify code for every division? Intel processors throw an exception on integer divide by zero. PPC processors silently give the result 0 (hence the old FB4 behaviour). You will have to avoid integer divide by zero, either by testing the divisor or by switching to floating point vars. F.p. divide by zero gives the special value 'inf'; no exception is thrown. Robert P.