ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous Windows 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
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 an advanced function. You may encounter problems with the behavior of your application if the specified size or addresses are invalid.
Example
DestString is fixed string on 12000
SourceString is fixed string on 24000
TransferLength is int
TransferLength = 4096
Transfer(&DestString, &SourceString, TransferLength)
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: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help