PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the amount of available memory on the external storage area of the device.
Example
// Retrieves the amount of available memory on the external storage space
nFreeSpace is 8-byte int
nFreeSpace = SysMemoryExternalStorage(1)
Syntax
<Result> = SysMemoryExternalStorage(<Subscript> [, <Type>])
<Result>: Integer
  • Amount of memory (in bytes),
  • -1 if an error occurred.
<Subscript>: Integer
Subscript of external storage space to use (if the device includes several external storage spaces).
Note: SysNbExternalStorage returns the number of external storage spaces found on the device.
<Type>: Optional Integer constant
Type of memory to calculate:
sysStorageSpaceTotal available sapce for storage.
sysFreeStorageSpace
(Default value)
Available storage space.
Remarks
The same device can contain several external storage areas (for example, an area corresponds to the "external" partition of permanent memory and another area corresponds to the SDCard).
Components
Android wd230android.jar
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment