Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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

Blog Entries

This function checks for a license.

Created 2nd June 2022, last changed 29th January 2023


SharedMemory.GetValue - SharedMemory.SetValue