• 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/ArrayFill

ArrayFill

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

Syntax

 Public Function ArrayFill(ByRef FilledArray As Variant, ByVal Start As Integer, ByVal toIndex As Integer, ByVal value As Variant) As Boolean

Description

This functionis used to fill elements of an array from start index to an end index with a specific value.

Parameters

Key Description
FilledArray Array that want to fill its elements, a value of type object
Start End position index, a value of type Integer.
toIndex End position index, a value of type Integer.
value Value that wants to fill the array with. Value of type object.

Return value

Returnstrue if the array fills with elements otherwise returns false.

Sample

 Public Sub main()    Dim s(5)    Dim res     res = ArrayFill(s,2,5,8)    AlertMessage s(2) End Sub

See Also

  • ArrayBSearch
  • ArraySize
  • ArraySort

Back to VTL Client Script Index

Was this helpful?

Yes  No
Leave A Comment Cancel reply

  ArrayRange

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.