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

SyntaxColoring.CheckVariableDeclaration.SetLimits

Sets limits for variable check.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SyntaxColoring 10.2 Yes No No No No
MBS( "SyntaxColoring.CheckVariableDeclaration.SetLimits" { ; Limit1; Limit2 } )   More

Parameters

Parameter Description Example value
Limit1 Optional
How many lines to look up.
500
Limit2 Optional
How long a script may be to not be checked at all.
2000

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

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 Xojo Chart Plugins