ExtFreeDiskSpace is a LiveCode external for iOS, which contains two functions to read the total and freedisk space and returns these values as integers measured in kilobytes.
This script calls the external. It returns the number of available gigabytes in new style (1000kilobytes in a megabyte):
put 1000^2 into mySq1000
set the numberFormat to “#.00”
put extFreeDiskSpace()/mySq1000 into myGBs
return myGBs && “GB”
end freeDiskSpace00More information is included in the Read Me file. Note: the current version works with Arm7 processors only. You can download the external from Economy-x-Talk’s website.