# set_named_variable_value {{< callout context="note" title="NOTE" icon="outline/bulb" >}} Deprecated. Use `fsVarsLVarSet` instead. {{< /callout >}} The **set\_named\_variable\_value** function sets a local variable to a given value.   ##### Syntax ``` wasm void set_named_variable_value( ID id, FLOAT64 value ); ```   ##### Members {{< table-wrapper >}} | Parameters | Description | |------------|----------------------------------------------------| | `id` | Specifies the ID of the variable. | | `value` | Specifies the value the variable should be set to. | {{< /table-wrapper >}}   ##### Return Values This function does not return a value.   ##### Remarks N/A