so in pascal you can get the number of records by using filesize() but whe try it in mpl its not working. any ideas or work around? in mpl there is sizeof() and filesize() tried what i could think of with no luck.
so in pascal you can get the number of records by using filesize() but whe try it in mpl its not working. any ideas or work around? in mpl there is sizeof() and filesize() tried what i could think of with no luck.
In the mpltest.mps script, there's a procedure called 'testfileio'. In
it it shows how to use the 'fsize()' function. Is that what you are looking for?
so in pascal you can get the number of records by using filesize() bu try it in mpl its not working. any ideas or work around? in mpl ther sizeof() and filesize() tried what i could think of with no luck.In the mpltest.mps script, there's a procedure called 'testfileio'. In
it it shows how to use the 'fsize()' function. Is that what you are looking for?
Function ReadEntry(FN:String;I:Integer):Boolean
Var Ret : Boolean = False
Var Fp : File
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 163:31:30 |
Calls: | 2,076 |
Calls today: | 2 |
Files: | 11,137 |
Messages: | 947,148 |