FORMULA LANGUAGE
Syntax
@Platform( [SPECIFIC] )
Parameters
[SPECIFIC]
platform
One of the platform names listed below:
Windows/16, Windows/95, Windows/NT, MS-DOS, NetWare, Macintosh/68K, Macintosh/PowerPC, OS/2v1, OS/2v2, IBM OS/400, IBM OS/390, AIX, UNIXWARE, HP UNIX, SUN Sparc, SOLARIS x86, SOLARIS Sparc, SCO OpenDeskTop, Linux
The current version number of the primary operating system. The number is specific; for example, 3.11. For the UNIX platform, @Platform([SPECIFIC]) returns only the specific platform name, not the version number.
The name of the secondary operating system. For example, MS-DOS is the secondary operating system when Windows/16 runs on top of it. The values are the same as those for the primary operating system. Most platforms don't have a secondary operating system.
The current version number of the secondary operating system.
Usage
When it is used in column, selection, or scheduled agent formulas, @Platform returns the current platform where the database resides. If the database resides on a server, @Platform returns the server platform; if the database resides locally, @Platform returns the workstation platform.
Your application may perform certain operations that are not available in all platform versions of Lotus Notes/Domino (such as the DDErelated functions). Rather than receive an error, you could use @Platform to determine whether or not to perform the operation.
You can use @Platform([Specific]) to distinguish between Windows 32 platforms (NT versus 95), and between UNIX or OS/2 platforms.
This function returns the server platform only. Use @ClientType to distinguish between Web and Notes/Domino users.
In Web applications, @Platform returns the platform only.
Language cross-reference
Platform property of LotusScript NotesSession class
Platform property of Java Session class
See Also