in reply to Re: more ways to filesize
in thread more ways to filesize

BTW, slight correction. The multipication is only done once, at compile-time. OTOH, the result doesn't need to be assigned to a variable every time through the loop. In fact, even better, it doesn't need to be assigned to a variable at all; use constant MAXSIZE => 30000*1024 at the top. Even better, 30*1024*1024, which is probably what you meant.


Confession: It does an Immortal Body good.