set_string

Syntax

native set_string(param, dest[], maxlen);

Usage

param
Argument to set, starting from 1
dest
Buffer to copy string from
maxlen
Maximum size of buffer

Description

Copies a string to the plugin calling the native.

Return

Number of cells copied from buffer

Error

If used outside of a native callback, or the native was
created with style 1, an error will be thrown.