thanks , all i want to do is calculat the size of a given file manually

so after reading the file

BlockRead(File,_Ptr,size//supose that we know the size already);
// use of the function
filesize := GetPtrLength(_ptr);

you may say why you calculate the size and u know it already

i just want to know how to get the size of a memory file