documentation says: On Macintosh, if you do not pass the optional * parameter, the size of the data fork is returned. If you do pass the * parameter, the size of the resource fork is returned.
this code: r_readfile_Size:=Get document size(x_readfile_Doc_Ref) If (<>f_Is_a_Mac) //check on resource fork r_readfile_Size:=r_readfile_Size+Get document size(x_readfile_Doc_Ref;*) End if returns a document size 2x the actual file size, as both instances of Get Document size return the file size. any insights? Chip --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************