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.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Enables checking variable declarations in FileMaker Scripts.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SyntaxColoring | 3.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
none
Returns OK on success.
Enable or disable checking variable declarations:
If (Enable)
Set Variable [$r; MBS( "SyntaxColoring.CheckVariableDeclaration.Enable" )]
else
Set Variable [$r; MBS( "SyntaxColoring.CheckVariableDeclaration.Disable" )]
end if
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 18th November 2022
SyntaxColoring.CheckVariableDeclaration.Disable - SyntaxColoring.CheckVariableDeclaration.Enabled