Variable.Reset
--------------

Resets the list of variables.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Variable](component_Variable.md) | [4.0](newinversion40.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Variable.Reset" ) (old name: FM.VariableReset)

### Parameters

none

### Result

Returns OK.

### Description

Resets the list of variables.  
You can fill again with [Variable.Set](VariableSet.md) or remove individual variables with [Variable.Clear](VariableClear.md).  
Like [Variable.ClearAll](VariableClearAll.md), but not just removes the entries, but the whole list structure.  
### Examples

Try it:

 "Set: " &amp; MBS ("[Variable.Set](VariableSet.md)"; "test"; "test") &amp; ¶ &amp;  
"Get: " &amp; MBS ("[Variable.Get](VariableGet.md)"; "test") &amp; ¶ &amp;  
"Clear: " &amp; MBS ("Variable.Reset") &amp; ¶ &amp;  
"Get again: " &amp; MBS ("[Variable.Get](VariableGet.md)"; "test")  
<small>  
Example result:   
Set: OK  
Get: test  
Clear: OK  
Get again: \[MBS\] Variable not found.</small>### See also

- [Variable.Clear](VariableClear.md)
- [Variable.ClearAll](VariableClearAll.md)
- [Variable.Get](VariableGet.md)
- [Variable.List](VariableList.md)
- [Variable.Names](VariableNames.md)
- [Variable.Set](VariableSet.md)

### Blog Entries

- [MBS Filemaker Plugin, version 4.0pr1](https://www.mbsplugins.de/archive/2014-01-03/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 16th April 2025

  
[Variable.PopValue](VariablePopValue.md) - [Variable.Set](VariableSet.md)

[HTML Version](VariableReset.shtml)