diff --git a/yab-IDE/Programs/libs/fileblock.yab b/yab-IDE/Programs/libs/fileblock.yab index e2d7a4a..791a22e 100644 --- a/yab-IDE/Programs/libs/fileblock.yab +++ b/yab-IDE/Programs/libs/fileblock.yab @@ -154,8 +154,7 @@ rec=rec+1 return rec end sub -export sub lof(filehandle) -// returns the number of blocks in the file. +export sub lof(filehandle) // alias for numberofrecords() local x filename$=f$(filehandle,0,0) x=open(filename$) @@ -168,6 +167,14 @@ ret=int(ret) return ret end sub +export sub numberofrecords(filehandle) // alias for lof() +fh=filehandle +rtn=lof(fh) +return rtn +end sub + + + sub blank$(num) local s$