PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode in GO mode and at run time
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 physical memory space for the current computer.
Windows Mobile This function can also be used to return the free space or the space used for storage.
WEBDEV - Server code Returns the physical memory space for the server.
Versions 16 and later
Android This function is now available for the Android applications.
AndroidAndroid Widget This function can only be used to find out the free space or the total space on the storage card (primary external storage zone).
New in version 16
Android This function is now available for the Android applications.
AndroidAndroid Widget This function can only be used to find out the free space or the total space on the storage card (primary external storage zone).
Android This function is now available for the Android applications.
AndroidAndroid Widget This function can only be used to find out the free space or the total space on the storage card (primary external storage zone).
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Example
// Find out the physical memory space
ResMemorySpace = SysSpace()
Syntax
<Result> = SysSpace([<Type of Memory>])
<Result>: Integer
Requested space (in bytes) for the current computer (or for the server).
Versions 16 and later
AndroidAndroid Widget SysSpace returns 0 if the storage card is not available or if it is missing.
New in version 16
AndroidAndroid Widget SysSpace returns 0 if the storage card is not available or if it is missing.
AndroidAndroid Widget SysSpace returns 0 if the storage card is not available or if it is missing.
Note: SysSpace returns a 8-byte integer if the requested size is greater than 2 GB.
<Type of Memory>: Optional integer constant
Type of memory to return:
sysProgramSpace
(Default value)
Physical memory space.
Versions 16 and later
AndroidAndroid Widget This constant is not available.
New in version 16
AndroidAndroid Widget This constant is not available.
AndroidAndroid Widget This constant is not available.
sysFreeProgramSpaceUnused physical memory space.
Versions 16 and later
AndroidAndroid Widget This constant is not available.
New in version 16
AndroidAndroid Widget This constant is not available.
AndroidAndroid Widget This constant is not available.
sysStorageSpaceSpace used for storage
WINDEVWEBDEV - Server code This constant is not available.
sysFreeStorageSpaceSpace available for storage
WINDEVWEBDEV - Server code This constant is not available.
Remarks
Windows Mobile

Operating mode in GO mode and at run time

In GO mode (simulation on the development computer), <Result> corresponds to the physical memory space of the development computer (and not to the physical memory space of the Pocket PC). The differences between GO mode (simulator) and real use are presented in Differences between GO mode and real use.
Related Examples:
The System functions Unit examples (WINDEV Mobile): The System functions
[ + ] Using the WLanguage "System" functions available in WINDEV Mobile:
- SysShutdown associated with the sysReboot, sysPoweroff, sysPoweronScreen and sysPoweroffScreen constants.
- SysDirStorageCard that is used to retrieve the path of the storage card
- SysSpace that is used to retrieve the sizes of spaces (storage and program, total and free)
- SysSerialNum that is used to retrieve the serial number of the device
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment