• Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • My Account
  • Try VertexFX

Array Functions

home/Knowledge Base/Technical Support/API/Client API's/VTL/VTL Client Scripts/Array Functions/ArraySize

ArraySize

27 views 0 Updated on December 28, 2023 hybrid-solutions

Syntax

Public Function ArraySize(ary As Variant) As Integer

Description

This function is used to return the number of elements in given array.

Parameters

Key Description
Ary Array to get size, value of type Variant.

Return value

Return the size in a selected array as integer value.

Sample

 Public Sub main () Dim Arr (5) Arr (1) = 1 Arr (2) = 2 Arr (3) = 4 Arr (4) = 6 Dim Size Size = ArraySize (Arr) AlertMessage (Size) End sub

See Also

  • ArraySort
  • ArrayFree
  • ArrayInitialized

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  ArraySort

ArrayBSearch  

About
VertexFX Trader has a closed-loop trading structure with BackOffice dealing desk, Client Terminals, Dedicated Hosting, White Labelling and Bridging Capabilities. Through VertexFX Risk Management Bridge...
Categories
  • Release Notes
  • Technical Support
  • VertexFX Pro Setup
  • Mobile Trader
  • Lite VertexFX Mobile Trader
Community
  • Blog
  • Media Center
Need Support?
If you need any further help, don't hesitate to send a support request to our support team.
Contact Support
  • Privacy Policy
  • Brokers Terms
  • Traders EULA
  • ISV Terms
  • Plugins EULA
  • Copyright 2024 hybridsolutions.com. All Rights Reserved.