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
MemoryToFile (Function)
In French: MémoireVersFichier
ODBCNot available with this kind of connection
Automatically initializes the memory value of the items for the current data file record with the values of the members:
  • of a structure.
  • of a class.
  • Versions 17 and later
    of an advanced type.
    New in version 17
    of an advanced type.
    of an advanced type.
Note: MemoryToFile cannot be used to write into the data file: only the variables of the data file items are assigned (which means the variables of the record loaded in memory). To modify the records, you must use HAdd, HModify, HWrite, ...
Versions 15 and later
Java This function is now available for the Java applications.
PHP This function is now available for the PHP sites.
Android This function is now available for the Android applications.
New in version 15
Java This function is now available for the Java applications.
PHP This function is now available for the PHP sites.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
PHP This function is now available for the PHP sites.
Android This function is now available for the Android applications.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Syntax
MemoryToFile(<Name of Structure or Class> , <File Name>)
<Name of Structure or Class>: Structure or Class variable
Name of the structure or name of the class containing the values of items.
<File Name>: Character string (with or without quotes)
Name of the data file to which the linked items belong.
Remarks
  • If a member of the structure or class is named like an item of the HFSQL data file, the value of the member is copied into the item in memory. The name of the member must contain no prefix. The case and the accented characters are ignored when comparing the name of items and the names of members.
  • If a HFSQL item has no member in the class or in the structure, its value is not modified: no copy is performed. To initialize the value of the HFSQL items before the call to MemoryToFile, use HReset.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment