Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SharedMemory.SetValue
Sets shared memory value.
| Component | Version | macOS | Windows | Linux | Server | FileMaker 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. | "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
Created 2nd February 2020, last changed 2nd February 2020
SharedMemory.GetValue - SharingService.GetEmailRecipients
Feedback: Report problem or ask question.
Links
MBS FileMaker blog