ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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
Index of the external storage space to be used (if the device includes several external storage spaces).
Remark: 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).
Component: wd290android.jar
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help