Unlike the way in which you can embed JavaScript in HTML pages, WMLScript must be contained in a separate file to the WML that calls it.
Phones are available from a few manufacturers.
Check out our Wireless Device Listing for more details. If you are using an SDK, you will be able to see the WML code at the same tim as browsing the page. This displays the source for any WML page on the Internet. If you have written your application pages to produce WML, just remember to set the MIME type correctly at the start of the output. The form will vary depending on the language you have written your application in.