ArrayInsert

Prev Next Home Home Table Of Contents Index

ArrayInsert (Array,Position,Count)

ArrayInsert inserts space in Array at location Position for Count locations.


Example:
var A Loop 5 A[LoopIndex] = LoopIndex EndLoop ArrayInsert(A,3,1) A[3] = 10

Array A will be [1 2 10 3 4 5]

In this example,

   var A
   Loop 5
        A[LoopIndex] = LoopIndex
   EndLoop
created an array of numbers 1 through 5. In the next part of the example,

   ArrayInsert(A,3,1)
   A[3] = 10
the number 10 was inserted into position number 3 of the array A.

Category: Array

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home