|
|
|
|
|
Transfer (Function) In french: Transfert 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.
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:
|
Unit examples (WINDEV): Strings with APIs
[ + ] Using strings with APIs. The following functions are used: - StringRetrieve - Transfer
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|