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

FM.VariableClearAll

Clears all variables.

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

Parameters

none

Result

Returns OK or error.

Description

Clears all variables.

Examples

Try the functions:

"Set: " & MBS("FM.VariableSet"; "test"; "test") & ¶ &
"Get: " & MBS("FM.VariableGet"; "test") & ¶ &
"Clear: " & MBS("FM.VariableClearAll") & ¶ &
"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 3th June 2015, last changed 31st January 2023


FM.VariableClear - FM.VariableExists