|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications |

[Prev: debug()] [Home] [Next: isFinite()]

#### eval()

`eval( string )`

        var x = 57;
        var y = eval( "40 + x" ); // y == 97

This function parses and executes the contents of the string, taking the text to be valid Qt Script.

[Prev: debug()] [Home] [Next: isFinite()]