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

SharedMemory.GetValue

Queries shared memory value.

Component Version macOS Windows Linux Server iOS SDK
SharedMemory 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ❌ No
MBS( "SharedMemory.GetValue"; Name )   More

Parameters

Parameter Description Example
Name The name of the shared memory object. "test"

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 returns an error if variable doesn't exist. SharedMemory.LookupValue can query value (or default value).

Examples

Query shared memory object:

MBS( "SharedMemory.GetValue"; "test")

See also

Release notes

Blog Entries

This function checks for a license.

Created 2nd February 2020, last changed 29th January 2023


SharedMemory.Exists - SharedMemory.LookupValue