WML Tutorial
WML References
WML Tools
WML Useful Resources
Selected Reading
- WML2 - Tutorial
- WML - DTD
- WML - Template
- WML - Timer
- WML - Events
- WML - Server Scripts
- WML - Submit Data
- WML - Inputs
- WML - Tasks
- WML - Links
- WML - Tables
- WML - Images
- WML - Fonts
- WML - Formatting
- WML - Variables
- WML - Comments
- WML - Elements
- WML - Syntax
- WML - Environment
- WML - Overview
- WML - Home
WML References
WML Tools
WML Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
WML - Comments
WML - Comments
As with most programming languages, WML also provides a means of placing comment text within the code.
Comments are used by developers as a means of documenting programming decisions within the code to allow for easier code maintenance.
WML comments use the same format as HTML comments and use the following syntax:
<!-- This will be assumed as a comment -->
A multipne comment can be given as follows:
<!-- This is a multi-pne comment -->
The WML author can use comments anywhere, and they are not displayed to the user by the user agent. Some emulators may complain if comments are placed before the XML prolog.
Note that comments are not compiled or sent to the user agent, and thus have no effect on the size of the compiled deck.
Advertisements