COPY_BUFFER

Concept Link IconSee also Concept Link IconExample

Copy the contents of a buffer into another buffer.

WebVue support - Yes.

Syntax

IntVal=COPY_BUFFER (Target, Source[, OffsetTarget]);

Argument

Meaning

Target

The destination handle allocated by ALLOC_BUFFER. Type LONG.

Source

The source handle allocated by ALLOC_BUFFER. Type LONG.

OffsetTarget

The specified offset of the destination handle. Default value = 0. Any numeric type.

Return type: INTEGER.

Execution

Return

Meaning

IntVal

1 if OK
-1 if the buffer
Target has not been allocated
-2 if the buffer
Source has not been allocated
-3 if the size of the buffer
Target is less than the size of the buffer whose handle is at Source + OffsetTarget

Example

For an example, select the Example link above.