ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous Windows functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Copies a block of bytes or a fixed-length string from a memory address into another one. The interest of this function resides in its speed when copying strings by handling the addresses of the strings to copy.
Remark: This function is for advanced use.. You may encounter problems with the behavior of your application if the specified size or addresses are invalid.
Example
ChaîneDest is string fixed on 12000
ChaîneSource is string fixed on 24000
LongueurTransfert is int
LongueurTransfert = 4096
Transfer(&ChaîneDest, &ChaîneSource, LongueurTransfert)
Syntax
Transfer(<Destination block> , <Source block> , <Length>)
<Destination block>: Address
Address of the destination block. A WLanguage error occurs if the address is invalid (NULL specifically). The memory blocks may overlap.
<Source block>: Address
Address of the source block. A WLanguage error occurs if the address is invalid (NULL specifically). The memory blocks may overlap.
<Length>: Integer
Number of bytes to copy.
Related Examples:
Strings with APIs Unit examples (WINDEV): Strings with APIs
[ + ] Using strings with APIs.
The following functions are used:
- StringRetrieve
- Transfer
Component: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help