Introduction to establishing public functions and calling methods in the rapid development platform of measurement

Source: Internet
Author: User

Metric rapid development platform, you can customize a variety of public functions, in other places to make calls. This facilitates the construction of development work.

To build a public function:

' Input parameters
' This.input1, this. Input2,this. Input3,this. Input4,this. Input5
Dim A = CInt (this. INPUT1)
Dim b =cint (this. INPUT2)
' Output parameter this. Output1
This. OUTPUT1 = A+b



Calling public functions:



' Call ("Public function name", input parameter 1, input parameter 2 ...)
Dim Cus_func = Call ("Customfunctiontest", 10,20)
' Gets the value returned by the function
Dim Ret_value = Cus_func. Output1
MsgBox (Ret_value)


Invoke Effect:

The original address; http://bbs.delit.cn/thread-208-1-1.html

Reprint please specify the source:

Author: metric Technology www. Delit. cn

Introduction to establishing public functions and calling methods in the rapid development platform of measurement

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.