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:
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
12.3
Statistic
FMM
Blog
SharedMemory.LookupValue
Queries shared memory value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SharedMemory | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "SharedMemory.LookupValue"; Name { ; DefaultValue } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Name | The name of the shared memory object. | "test" | |
DefaultValue | The default value to return if shared memory doesn't exist. | Optional |
Result
Returns text value or error.
Description
Queries 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.
This function does return default value instead of an error. But it may still return an error if some technical problem exists for reading shared memory.
See also
Release notes
- Version 12.3
- Added FM.VariableLookup and SharedMemory.LookupValue functions.
Created 2nd June 2022, last changed 2nd June 2022
SharedMemory.GetValue - SharedMemory.SetValue
Feedback: Report problem or ask question.
