| Tutorial | Classes | Functions | QSA Developer | Language | Library | Qt API Qt Script for Applications

[Prev: const] [Home] [Next: var]

function

function functionName( arguments )
{
    Statements;
}

This keyword is used to define a function.

Functions may also be declared within the scope of a class definition. In this situation, the functions become member functions (methods) of the class that contains them. See class.

[Prev: const] [Home] [Next: var]


Copyright © 2001-2002 TrolltechTrademarks
QSA version 1.0.0-beta1