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.
In reply to Re: Re: more ways to filesize
by theorbtwo
in thread more ways to filesize
by d4vis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |