IT. Expert System.

VBS

Array()


Description

The Array() function returns a variant containing an array.

Note: The first element in the array is zero.

This function has the form:

Array(arglist)
Parameter Description
arglist (required) A list (separated by commas) of values that is the elements in the array

Examples

The following examples show the basic use of this function:

Example 1

a = Array(5,10,15,20)

Msgbox(a(3))

This produces the following result:

20

Example 2

The following example shows how to loop through all items in an array:

a = Array(5,10,15,20)

For Each x In a
  Msgbox(x)
Next

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

5
10
15
20

Miscellaneous Information

Supported in Version: 2.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: 1903 / . Delta: 0.01568 с