Skip to end of metadata
Go to start of metadata

The purpose of a method is, like with a field, to retrieve information out of a value. The difference is that a field directly accesses the value data, while a method usually constructs (new) information out of the value data. Also, a method may receive parameters, to control the functioning. The format of a method call is:

<value>.<methodname>( [<parameter>[, <parameter>]] )


A value of any type or an expression.


The name of a method that is defined on <value>


A value of which type and contents are defined by the specific method. A method does not have to have parameters.

All available methods are listed below. Each section handles a method (or a set of comparable methods), describing the value type(s) for which the method is available, the parameters it takes and their types and constraints, and the method's return value.