SyntaxColoring.SetFormatAddSpaceBeforeSemicolon
-----------------------------------------------

Sets whether calculation formatting should add space before semicolons.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SyntaxColoring](component_SyntaxColoring.md) | [16.1](newinversion161.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "SyntaxColoring.SetFormatAddSpaceBeforeSemicolon"; Value ) 

**MBS**( **"SyntaxColoring.SetFormatAddSpaceBeforeSemicolon";** /\* Sets whether calculation formatting should add space before semicolons. \*/  
**$Value**) /\* The new flag.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The new flag. | 1 |

### Result

Returns OK or error.

### Description

Sets whether calculation formatting should add space before semicolons.  
### Examples

Turn on:

 MBS ( "SyntaxColoring.SetFormatAddSpaceBeforeSemicolon"; 1 )  
### See also

- [SyntaxColoring.GetFormatAddSpaceBeforeSemicolon](SyntaxColoringGetFormatAddSpaceBeforeSemicolon.md)

### Release notes

- **Version 16.1**
    - Added [SyntaxColoring.GetFormatAddSpaceBeforeSemicolon](https://www.mbsplugins.eu/SyntaxColoringGetFormatAddSpaceBeforeSemicolon.shtml) and [SyntaxColoring.SetFormatAddSpaceBeforeSemicolon](https://www.mbsplugins.eu/SyntaxColoringSetFormatAddSpaceBeforeSemicolon.shtml) function to set whether to add space before semicolon for our calculation formatting.

### Example Databases

- [Utility functions/Formula Formatting](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Utility%20functions/Formula%20Formatting.shtml#3ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin 16.1 News](https://www.mbsplugins.de/archive/2026-03-31/MBS_FileMaker_Plugin_161_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 16.1pr1](https://www.mbsplugins.de/archive/2026-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th January 2026 , last changed 18th January 2026

  
[SyntaxColoring.SetFontSize](SyntaxColoringSetFontSize.md) - [SyntaxColoring.SetFormulasWithDashLinks](SyntaxColoringSetFormulasWithDashLinks.md)

[HTML Version](SyntaxColoringSetFormatAddSpaceBeforeSemicolon.shtml)