Hmmm ..... I get the results that you would expect. Are you sure that your copy of MBASIC is OK??? Roger