hi m8,

i have a problem. i am developing a project. i am using a javascript file and i included it to a qml file. its turning a random number. but its turning same number everytime.

function in example.js:
Code:
var sended = 0;

function untitled(p1,p2) {
    sended = Math.floor(Math.random()*p1+p2);
    return sended;
}
thanx.
best regards.