Chapter 10. Variables and Functions

You should be proud of how far you’ve come in learning WAP development. By now, you’ve explored most of WML, incorporating such advanced functionality as variables and even animation into your applications. And as if all this wasn’t enough, the last chapter saw you introducing a whole new level of flexibility to your efforts. You must be an overachiever!

In this chapter, you’ll further expand on your knowledge, learning to incorporate functions and variables into your scripting code. After reading this chapter, you’ll know how to control and use data that flows through both your WML and WMLScript files.

In this chapter, you’ll learn about functions, which are the building blocks of a WAP application. Functions ...

Get WAP 2.0 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.