Please enable JavaScript to view this site.

Sets value of a specific variable as a string.

Syntax

void set_string(const string &in name, const string &in value)

name

Variable name

value

Value of the variable

Result

(none)

Notes

For more information about the variable, see the section on default variables.

Example of use:

bool execute(pan3d::object @panel)

{

  ...

  panel.set_string("my_var1""my_value");

  ...

}

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC