The definition WML Script

08.21 Posted In , Edit This 0 Comments »
WML script, including a client-side programming. Very similar to the Java Script on dynamic HTML, WML script but is adjusted to the limitations of the WAP environment. WML use of the same script with Java Script, but the use of different rules, including:

1. WML script created a separate file with WML.
Unlike in Java Script, WML script can not be placed one file with the file WML. WML script consists of the functions that used to run the file WML.
2. Case sensitive.
Important note in writing variable, function names and parameters.

3. Ignoring space and the line.
In the WML script, the following will be considered to be the same:
Function number ()
Function number ()
Function
number ()

4. Comments can be provided with certain signs.
To comment placed after a line of signature / /
For comments that consists of several lines enclosed sign /*.... comment ....*/

5. Line function.
Each end of the line function atanda must end with a semicolon (;).

6. Block code.
A function is always the sign of the brackets ().

0 komentar: