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.
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:
|
Unit examples (WINDEV): Strings with APIs
[ + ] Using strings with APIs. The following functions are used: - StringRetrieve - Transfer
|