Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - ch_memcpy( @<ctarget>, <ntargetoffset>, <csource> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CH_MEMCPY( @<cTarget>, <nTargetOffset>, <cSource>
         [, <nSourceOffset> [, <nLength>]] )


Parameters

@<cTarget>
Destination string.

<nTargetOffset>
Offset within target string (base 1).

<cSource>
Source string.

<nSourceOffset>
Offset within source string (base 1).  Default is 1.

<nLength>
Length of copy.  Default is source string length.


Returns

NIL


Description

Use CH_MEMCPY() to copy a byte from a specified source text string to a 
specified target text string.


Example

cTarget := "ABCDEFG"
cSource := "abcdefg"
CH_MEMCPY(@cTarget, 4, cSource, 4, 3)

? cTarget
ABCdeFG





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson