| Tutorial | Classes | Functions | QSA Developer | Language | Library | Qt API | Qt Script for Applications | ![]() |
[Prev: undefined] [Home] [Next: Built-in Functions]
Qt Script for Applications provides many useful built-in functions and operators.
The built-in functions include connect(), debug(), eval(), isFinite(), isNaN(), killTimer(), killTimers(), parseFloat(), parseInt() and startTimer().
The built-in operators include + operator, ++ operator, - operator, -- operator, * operator, / operator, % operator, + string operator, += string operator, += operator, && operator, || operator, ! operator, & operator, ^ operator, | operator, ~ operator, << operator, >> operator, >>> operator, = operator, -= operator, *= operator, /= operator, %= operator, &= operator, ^= operator, |= operator, <<= operator, >>= operator, >>>= operator, == operator, != operator, === operator, !== operator, > operator, >= operator, ?: operator, , operator, function operator, in operator, instanceof operator, new operator, this operator and typeof operator.
Classes, functions, variables and constants are declared with class, function, var and const respectively.
ECMAScript reserves the following words for future use:
boolean, byte, char, debugger, double, enum, export, float, goto, implements, import
int, interface, long, native, short, synchronized, throws, transient and volatile.
It is unadvisable to use any of these words as identifiers.
[Prev: undefined] [Home] [Next: Built-in Functions]
Copyright © 2001-2002 Trolltech | Trademarks | QSA version 1.0.0-beta1
|