Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Variable.AppendValue
Appends a value to a variable.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Variable | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameters
Parameter | Description | Example |
---|---|---|
Name | The Name of the variable | "test" |
Value | The value to append to the list. | "Hello" |
Result
Returns new value or error.
Description
Appends a value to a variable.Returns the value of the variable.
Creates variable, if it's not existing yet.
Examples
Append values:
Let ( [
r1 = MBS( "Variable.AppendValue"; "hello"; "a" );
r2 = MBS( "Variable.AppendValue"; "hello"; "b" );
r3 = MBS( "Variable.AppendValue"; "hello"; "c" )
]; MBS( "Variable.Get"; "hello" ) )
Example result:
a
b
c
Try the function:
# Step 1: Clear any previous variable
Set Variable [$r; Value: MBS("Variable.Clear"; "PeopleList")]
# Step 2: Add values to the variable list
Set Variable [$r1; Value: MBS("Variable.AppendValue"; "PeopleList"; "Alice")]
Set Variable [$r2; Value: MBS("Variable.AppendValue"; "PeopleList"; "Bob")]
Set Variable [$r3; Value: MBS("Variable.AppendValue"; "PeopleList"; "Charlie")]
# Step 3: Retrieve the value as a return-delimited list
Set Variable [$peopleList; Value: MBS("Variable.Get"; "PeopleList")]
# Step 4: Show the result
Show Custom Dialog ["People Stored"; $peopleList]
See also
Release notes
- Version 15.2
- Added Variable.AppendValue and Variable.PopValue functions.
Blog Entries
- News in MBS FileMaker Plugin 15.2
- Neues MBS Plugin 15.2 für Claris FileMaker
- MBS Plugin 15.2 for Claris FileMaker
- MBS FileMaker Plugin, version 15.2pr4
This function checks for a license.
Created 15th April 2025, last changed 12nd June 2025
