Results 1 to 2 of 2

Thread: User Function

  1. #1
    Join Date
    Oct 2013
    Posts
    55
    Provided Answers: 2

    Unanswered: User Function

    Can someone post an example of a user function and how to pass it varibles?

  2. #2
    Join Date
    Jul 2012
    Location
    Ireland
    Posts
    815
    Provided Answers: 17
    You don't have to pass variables to the User Function. It can have it's own, but it will work with any variable the same way any code does.

    See attached.

    Press the button count, and you will see a user function count how many letters are in the field. If you look at the code for the button you will see it doesn't do anything but trigger the user function.

    The user function itself has the code that gives the function. Which in this case there's two lines, one that gets a value and populates a variable, and the second line displays the message containing the value stored in the variable.

    Regards
    James.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •