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

FM.VariableReset

Resets the list of variables.

Component Version macOS Windows Linux Server iOS SDK
FM Variables 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "FM.VariableReset" )

Parameters

none

Result

Returns OK.

Description

Resets the list of variables.
You can fill again with FM.VariableSet or remove individual variables with FM.VariableClear.
Like FM.VariableClearAll, but not just removes the entries, but the whole list structure.

Examples

Try it:

"Set: " & MBS("FM.VariableSet"; "test"; "test") & ¶ &
"Get: " & MBS("FM.VariableGet"; "test") & ¶ &
"Clear: " & MBS("FM.VariableReset") & ¶ &
"Get again: " & MBS("FM.VariableGet"; "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 31st January 2023


FM.VariableNames - FM.VariableSet