Re: Bytes Question
- Posted by Juergen Luethje <j.lue at gmx.de> Jul 05, 2006
- 560 views
Correction of my first post in this thread (of course it must be "byte" here, not "bit"): don cole wrote: > x=dir(myfile) > x[D_SIZE] would be the file size in bytes. > So would file size in Kbytes would be x[D_SIZE]/1000 > or x[D_SIZE]/1024 ? What about Mbtyes? Good question. x[1][D_SIZE]/1000 = file size in kilobyte (kbyte) x[1][D_SIZE]/1024 = file size in kibibyte (Kibyte) see <http://physics.nist.gov/cuu/Units/binary.html> Regards, Juergen -- Please excuse my flawed English. My native language is Euphoria.