Data Update
This commit is contained in:
parent
015c2add84
commit
e50b5c3114
206 changed files with 6337 additions and 523 deletions
10
Task/File-size/FutureBasic/file-size.basic
Normal file
10
Task/File-size/FutureBasic/file-size.basic
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
local fn DoIt
|
||||
CFURLRef desktopURL = fn FileManagerURLForDirectory( NSDesktopDirectory, NSUserDomainMask )
|
||||
CFURLRef url = fn URLByAppendingPathComponent( desktopURL, @"test_file.txt" )
|
||||
CFDictionaryRef attributes = fn FileManagerAttributesOfItemAtURL( url )
|
||||
printf @"%@", fn DictionaryObjectForKey( attributes, NSFileSize )
|
||||
end fn
|
||||
|
||||
fn DoIt
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue