Re: file size and creation date
Re: file size and creation date
- Subject: Re: file size and creation date
- From: Doug McNutt <email@hidden>
- Date: Tue, 12 Mar 2002 13:58:44 -0700
At 22:46 +1300 3/12/02, Andy Wylie wrote:
>
repeat until |size| < 1024
>
set {|size| ,cnt} to {|size| / 1024, cnt + 1}
>
end repeat
Is that right?
When the MacOS reports a file size in (kilo)bytes or (mega)bytes is it using 1024 and 1024^2 for the abbreviations "K" and "M"? The metric standard as promulgated by www.nist.gov says "k" means 1000(10) and "M" means 1,000,000(10). Little "m" means 0.001(10).
In some computer circles capital "K" seems to mean 1024(10) rather than its NIST meaning of degrees Kelvin (a unit of absolute temperature). Little "k", the NIST standard, never means that.
Capital M when it refers to disk size is pretty much always 1,000,000(10) because that makes the number look bigger in the eyes of an advertising agency in the employ of disk manufacturers. Surely a GB is always 10^9 bytes for that reason.
All this from a fellow who used to refer to the 65536 byte addressable memory of a Z80 as 65 kB.
--
--> As a citizen of the USA if you see a federal outlay expressed in $billion then multiply it by 4 to get your share in dollars. <--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.