Android Question B4A event and routine

Discussion in 'Android Questions' started by JVamcas, Jun 5, 2015.

  1. JVamcas

    JVamcas New Member

    What is the meaning of event, routine name and routine in B4A? I just started learning this language but i do know how to program in python though.
  2. Cableguy

    Cableguy Expert Licensed User

    An event is, as the name itself says, an event fired when some action, automated or not, has taken place.
    sub button1_Click
    Click is the event fired when the user taps button1.

    A routine name is usually the name, either of the view that the routine handles, like the one above, or a user general purpose defined one.
    A routine is a block of code (may be a sub or not), that executes a specific task
    For x =0 to 1000
    X= X+
    The examples above are very simplistic and should not be regarded as real world code
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice