Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Language

Specifies the language used to implement this method.

Usage

To specify the language used to implement the method, use the following syntax:

Method name(formal_spec) As returnclass [ Language = language ]
{
   //implementation
}

Where language is one of the following:

  • cache (the default) — ObjectScript

  • basic — Caché Basic

  • java — Java

    This value applies only when you are using the Caché Java Binding. When Caché projects Java classes from the Caché definition, it includes any Java methods. These methods run directly in the Java Virtual Machine.

  • javascript — JavaScript

    This value applies only when you are using Zen or technology based on Zen. The JavaScript methods run directly in the browser.

  • mvbasic — MultiValue Basic

  • tsql — Transact-SQL

Details

This keyword specifies the language used to implement this method.

Default

If you omit this keyword, the language specified by the class-level Language keyword is used.

See Also

FeedbackOpens in a new tab