Environment ( )

Function stats

Average user rating
4.0000
36
81
9999
Support
FileMaker 7.0 +
Date posted
25 November 2008
Last updated
19 December 2008
Version
Recursive function
No

Author Info
 Fitch

2 functions

Average Rating 4.0

author_avatar



 

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

*/
// ===================================

 

 

 

 

 

 

 

Top Tags

Text Parsing  (33)
List  (31)
Date  (28)
XML  (26)
Format  (23)
Sql  (22)
Dev  (20)
Debug  (17)
Interface  (15)
Layout  (15)
Text  (14)
Variables  (12)
Layout Objects  (11)
Filter  (11)
Design  (10)
Array  (7)