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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
SyntaxColoring.CheckVariableDeclaration.SetLimits
Sets limits for variable check.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| SyntaxColoring | 10.2 | Yes | No | No | No | No |
MBS( "SyntaxColoring.CheckVariableDeclaration.SetLimits" { ; Limit1; Limit2 } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Limit1 | How many lines to look up. | 500 | Optional |
| Limit2 | How long a script may be to not be checked at all. | 2000 | Optional |
Result
Returns OK or error.
Description
Sets limits for variable check.By default this returns 500 and 2000 as we look up to 500 lines up for variable declaration and don't check scripts with 2000 or more lines.
Script workspace gets slower if we check >500 lines on every change made.
Examples
Set higher limits:
MBS( "SyntaxColoring.CheckVariableDeclaration.SetLimits"; 600; 2400 )
See also
- SyntaxColoring.CheckVariableDeclaration.Disable
- SyntaxColoring.CheckVariableDeclaration.Enable
- SyntaxColoring.CheckVariableDeclaration.Enabled
- SyntaxColoring.CheckVariableDeclaration.GetLimits
Blog Entries
Created 2nd May 2020, last changed 6th May 2020
SyntaxColoring.CheckVariableDeclaration.Notification.Enabled - SyntaxColoring.Clear
Feedback: Report problem or ask question.
Links
MBS FileMaker blog