Function overview
Prototype
Environment (
)
Parameters
No parameters for this function.
Description
Tags:
Testing Dev Debug
Easily modify this to show the system variables that interest you. Use it in a startup script, or just throw it in the Data Viewer for debugging. Another use that might actually make this worthwhile as a CF is if you want to add such info to your error dialogs.
Examples
Sample input
Environment
Sample output
System: Mac 10.5.5
FileMaker: ProAdvanced 9.0v3
Host: Server 9.0v3
Screen w: 1920 h: 1200
Account: admin
User: George Jetson
Function code
"System: " & Case( Abs(Get ( SystemPlatform ))=1; "Mac "; "Windows " ) & Get ( SystemVersion ) & ¶ &
"FileMaker: " & Get ( ApplicationVersion ) & ¶ &
"Host: " & Get ( HostApplicationVersion ) & ¶ &
"Screen w: " & Get ( ScreenWidth ) & " h: " & Get ( ScreenHeight ) & ¶ &
"Account: " & Get ( AccountName ) & ¶ &
"User: " & Get ( UserName )
// ===================================
/*
This function is published on FileMaker Custom Functions
to check for updates and provide feedback and bug reports
please visit http://www.fmfunctions.com/fid/81
Prototype: Environment( )
Function Author: Fitch (http://www.fmfunctions.com/mid/36)
Last updated: 19 December 2008
Version: 1.1
*/
// ===================================
"System: " & Case( Abs(Get ( SystemPlatform ))=1; "Mac "; "Windows " ) & Get ( SystemVersion ) & ¶ & __LITBR__"FileMaker: " & Get ( ApplicationVersion ) & ¶ & __LITBR__"Host: " & Get ( HostApplicationVersion ) & ¶ & __LITBR__"Screen w: " & Get ( ScreenWidth ) & " h: " & Get ( ScreenHeight ) & ¶ & __LITBR__"Account: " & Get ( AccountName ) & ¶ & __LITBR__"User: " & Get ( UserName )__LITBR____LITBR__// ===================================__LITBR__/*__LITBR____LITBR__ This function is published on FileMaker Custom Functions__LITBR__ to check for updates and provide feedback and bug reports__LITBR__ please visit http://www.fmfunctions.com/fid/81__LITBR____LITBR__ Prototype: Environment( )__LITBR__ Function Author: Fitch (http://www.fmfunctions.com/mid/36)__LITBR__ Last updated: 19 December 2008__LITBR__ Version: 1.1__LITBR____LITBR__*/__LITBR__// ===================================