ButtonsAsParameters

The following code uses procedures with the Button component as parameter. A similar technique can be used with other components.

Note:

    • currently App Inventor does use local variables, therefore different argument (parameter) names must be used in each procedure.