Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Variable.Reset

Resets the list of variables.

Component Version macOS Windows Linux Server iOS SDK
Variable 4.0 ✅ 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 or remove individual variables with Variable.Clear.
Like Variable.ClearAll, but not just removes the entries, but the whole list structure.

Examples

Try it:

"Set: " & MBS("Variable.Set"; "test"; "test") & ¶ &
"Get: " & MBS("Variable.Get"; "test") & ¶ &
"Clear: " & MBS("Variable.Reset") & ¶ &
"Get again: " & MBS("Variable.Get"; "test")

Example result:
Set: OK
Get: test
Clear: OK
Get again: [MBS] Variable not found.

See also

Blog Entries

This function checks for a license.

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


Variable.PopValue - Variable.Set