FORMULA LANGUAGE


@Platform
Returns the name of the currently running platform version of Lotus Notes/Domino.

Syntax

@Platform( [SPECIFIC] )

Parameters

[SPECIFIC]


Return value

platform

When you use the [Specific] keyword, @Platform returns a text list containing the following items:
On a Windows 16-bit platform, for example, @Platform([Specific]) returns Windows/16;3.11;MS-DOS;6.22

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 DDE­related 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