Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Variable.PopValue
Queries and removes the last value from variable.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Variable | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Variable.PopValue"; Name ) More
Parameters
Parameter | Description | Example |
---|---|---|
Name | The Name of the variable | "test" |
Result
Returns text or error.
Description
Queries and removes the last value from variable.Returns empty value if list is empty.
Examples
Pops the last value:
Let ( [
r1 = MBS( "Variable.AppendValue"; "hello"; "a" );
r2 = MBS( "Variable.AppendValue"; "hello"; "b" );
r = MBS( "Variable.PopValue"; "hello" )
]; r )
Example result: b
See also
Release notes
- Version 15.2
- Added Variable.AppendValue and Variable.PopValue functions.
Blog Entries
This function checks for a license.
Created 15th April 2025, last changed 16th April 2025
