Sequential Files

Kyle1234
02-05-2002, 08:23 PM
Is there a way to make a program figure out how many items are in a sequential file?

AcidBoot
02-06-2002, 12:44 AM
The only way I know is to flick through each one until EOF, and keep count.

Sequential files are best used for storing a volume of data about a single object. Something where there will not be many of them at a time, and it is not worth having a user type for it.

Otherwise random access files are vastly superior.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum