Login
Try VertexFX
  • Home
  • Knowledgebase
  • Blog
  • Home
  • Knowledgebase
  • Blog

Array Functions

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

ArrayRange

5 views 0 Updated on December 16, 2021 hybrid-solutions

Syntax

 Public Function ArrayRange(ByRef Ary As Variant, ByVal rank_index As Integer) As Integer

Description

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

Parameters

Key Description
Ary Checked array. Value of type is Variant
rank_index The index of dimension. Value of type is Integer

Return value

Returns the number of elements in the selected array.

Sample

 Public Sub main()    Dim i    Dim Element    Dim compare    CopyHigh 0, 10, 20, i    Element = ArrayRange (i, 1)    AlertMessage (element) End Sub

See Also

  • ArrayResize
  • ArrayDimension
  • ArrayFill


Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  ArrayCopy

ArrayResize  

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 2023 hybridsolutions.com. All Rights Reserved.