[Next] [Previous] [Up] [Top] [Contents] [Index]

13. Expressions

13. 4. Unary Operators

The exclamation mark (!) or not is used for logical negation. It is only valid for boolean values.

The minus sign (-) is used for numerical negation. It is valid for integer and floating point values.

sqrt is used for the calculation of square roots. It is valid for floating point values. If an integers is used, it is converted to floating point.

log is used for the calculation of natural logarithms. It is valid for floating point values. If an integers is used, it is converted to floating point.

Examples

Examples

MOLMOL Manual - 7 Oct 1997

[Next] [Previous] [Up] [Top] [Contents] [Index]

Generated with Harlequin WebMaker