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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Queries if checking variable declarations are enabled or not.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SyntaxColoring | 3.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
none
Returns 1 if checking variable declarations are enabled and 0 if not.
Check if enabled:
Set Variable [ $emab; MBS( "SyntaxColoring.CheckVariableDeclaration.Enabled" ) ]
Enable all the plugin enhancements for FileMaker:
MBS("SyntaxColoring.CopyButton.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptSearchBox.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptGoToBox.SetEnabled"; 1)
MBS("SyntaxColoring.RelationshipGraphSearchBox.SetEnabled"; 1)
MBS( "SyntaxColoring.CheckVariableDeclaration.Enable" )
MBS( "SyntaxColoring.LineNumbers.Enable" )
MBS( "SyntaxColoring.SetScriptHighlightColor"; "#CCCCFF" )
Use @variable to declare variable:
# Declare variable via comment as plugin has no way to know easily that $test is defined here
# @variable $test
Insert Current Time [ Select ; Target: $test ]
Declare variable via comment:
# Declare variables via comment as plugin has no way to know easily that $test is defined here
# @parameter $param1
# @parameter $param2
Set Variable [ $r ; Value: Let ( [ parameters = Get(ScriptParameter); $param1 = GetValue(parameters; 1); $param2 = GetValue(parameters; 2) ] ; 1 ) ]
This function is free to use.
Created 18th August 2014, last changed 12nd September 2020
SyntaxColoring.CheckVariableDeclaration.Enable - SyntaxColoring.CheckVariableDeclaration.GetLimits