Please enable JavaScript to view this site.

Set string variable value in storage.

Syntax

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

name

Variable name

value

Value of the variable

Result

(none)

Notes

Any value that exists is automatically overwritten.

Example of use:

bool execute(shell::object @shell, const string &in cmdline)

{

 // Set "my_var" with value "value"

  shell.storage.set_string("my_var""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