[Newbies] determining file size?
Van Upboy
van.upboy at gmail.com
Sat Mar 20 15:32:32 UTC 2010
Hi,
I'm listing files in a directory, but I want to show more than just the
filename (like file size and may be creation date). I've searched for some
time on the Internet, but I can't find the answer. How to do this?
I've tried this:
aFile := (FileDirectory default directoryNamed: directoryName)
assureExistence;
readOnlyFileNamed: 'testfile.pdf'.
and then tried: aFile size but that doesn't seem to work.
Regards,
Van.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20100320/c8e4ab01/attachment.htm
More information about the Beginners
mailing list