On Tue, 10 Apr 2001, kamesh jayachandran wrote: > > > > scanf("%d",&offset); i dont have the source anymore but can you add a printf before the break to see if it is being read correctly. What happens when you give a -1, which iirc was the exit criteria -- sreangsu