Filemaker Pro 8.5 Educational Maintenance T3 TJ083LL/A User Manual

Product codes
TJ083LL/A
Page of 238
110     FileMaker Functions Reference
Data type returned
text
Description
 currently running (or paused).
Note  
See FileMaker Pro help for information about running scripts in client/server and 
peer-to-peer environments.
Examples
Returns 
Print Report
 when the Print Report script is running.
Returns 
Update Customer
 when the Update Customer script is running.
Get(ScriptParameter)
Format
Get(ScriptParameter)
Parameter
None
Data type returned
text
Description
When this function is part of a calculation evaluated within a 
, returns the script 
parameter passed into the script.
Note  
See FileMaker Pro help for information about running scripts in client/server and 
peer-to-peer environments.
Examples
Returns 
Print
 when “Print” was the value of the parameter passed into the current script.
The following example shows how to pass named parameters using the Evaluate, Let, 
and Get(ScriptParameter) functions, allowing access only to variable 'a' (the 
example returns 
6
):
ScriptParameter = "a = 5; b = 10"
Evaluate("Let ( [" & Get(ScriptParameter) & "]; a + 1 )" )
The following example shows how to pass named parameters, allowing access to both 
variable 'a' and 'b'. The simplified first parameter makes the second parameter more 
complex (the example returns 
6,
 
12
):
ScriptParameter = "a = 5; b = 10"