How does WMLScript function written?

How does WMLScript function written?



- WMLScript provides functions that are either user defined or inbuilt so that it can be used with the Script.

- The user defined functions are usually made and declared in different file having the extension as .wmls.

- The format of the function is as follows:

function name (parameters)
{
control statements;
return var;
}

- This function contains some values in the form of parameters and it is being called by using the filename followed by hash.

- It is represented as:

maths.wmls#squar()
Post your comment