IT. Expert System.

VBS

Call


Description

The Call statement transfers control to a Sub or Function procedure.

This statement has the form:

[Call] name [argumentlist]
Parameter Description
Call (optional) If specified, the argumentlist must be enclosed parentheses.

For example:
Call MyProc(0)
name (required) Specifies the name of the procedure to call
argumentlist (optional) Specifies a comma-delimited list of variables, arrays, or expressions to pass to the procedure

Examples

The following example shows the basic use of this statement:

Dim retValue

' Call the function with and without the "Call" keyword
Call DisplaySum(1, 2)
DisplaySum 3, 4

' Omit the "Call" keyword to access
' the function's return value
retValue = DisplaySum(5, 6)
MsgBox "retValue:  " & retValue

Function DisplaySum(value1, value2)
    Dim total

    total = value1 + value2

    DisplaySum = total
End Function

This produces the following result (each line in a separate pop-up message box):

3
7
11

Miscellaneous Information

Supported in Version: 1.0


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 970 / 158860018. Delta: 0.03565 с