Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SharedMemory.SetValue
Sets shared memory value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SharedMemory | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "SharedMemory.SetValue"; Name; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
Name | The name of the shared memory object. | "test" |
Value | The text value to store. e.g. an UUID to make it unique. |
"Hello World" |
Result
Returns OK or error.
Description
Sets shared memory value.MBS Plugin provides SharedMemory functions to store UTF-8 text in shared memory, so one process can set it and other can read it, e.g. two versions of FileMaker Pro or two server processes.
The value is lost when computer restarts, but stays when application quits.
Examples
Store text in shared memory:
MBS( "SharedMemory.SetValue"; "test"; "Hello World" )
See also
Blog Entries
- Additional variable levels in FileMaker with MBS Plugin
- Variable Levels in FileMaker
- New in the MBS FileMaker Plugin 10.1
This function checks for a license.
Created 2nd February 2020, last changed 6th July 2022