1. A wireless communication device, comprising: a processor; machine-readable memory in communication with said processor, storing machine-executable virtual machine software controlling operation of said device, said virtual machine software comprising: machine-executable code for receiving a textual representation of a for-loop specifying one or more actions to be performed upon each pass through the for-loop; machine-executable code for creating, based on said textual representation, an instance of an object-oriented class representative of the for-loop, said instance having a method including instructions defining a loop; and machine-executable code for creating, for each of said one or more actions to be performed, an instance of an object-oriented class representative of said action, each said instance having a method including instructions for performing said action, each said method being invoked once for each pass through said loop.