Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2    Statistic  

SharedMemory.SetValue

Sets shared memory value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SharedMemory 10.1 Yes Yes Yes Yes No
MBS( "SharedMemory.SetValue"; Name; Value )   More

Parameters

Parameter Description Example value
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

Created 2nd February 2020, last changed 2nd February 2020


SharedMemory.GetValue   -   Shell.AddArgument

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins