Functions Reference

Table Of Contents
Parameter
None
Data type returned
text
Description
Returns the registered name of the computer that is hosting the database file.
On the computer that is hosting the database file:
Windows: Choose Start menu > Control Panels > System, and then click the
Network Identification tab. Full computer name displays the current registered
name. Click Properties to rename the computer (you must be logged on as an
administrator to rename the computer).
Mac OS: In the Sharing System Preference, Computer Name displays the current
registered name.
Notes
If the current calculation is stored and you specify its context, this function will be
evaluated based on that context; otherwise, it will be evaluated based on the context
of the current window.
See FileMaker Pro help for information about running scripts in client/server and
peer-to-peer environments.
Example
Returns Fred Jones when Fred Jones is the registered name of the host computer in use.
Get(LastError)
Format
Get(LastError)
Parameter
None
Data type returned
number
Description
Returns a number representing the error, if any, in the execution of the most recently
executed script step
. Use this function to detect and control the outcome of errors.