What do you want to save?
Add Code snippet
New code examples
-
VBA 2022-03-01 09:15:10
excel vba check for uninitialized or empty array
'In VBA an un-itialized dynamic array will raise a run-time error if 'code attempts to read from... or write to it. 'VBA function to test if an array is ready for access: Function ArrayReady(a) As Boolean On Error Resume Next ArrayReady = Not LB... Add solution -
VBA 2021-10-18 19:05:10
vba string array
'In VBA a dynamic string array is declared in the following ways: Dim strArr1() As String Dim strArr2$() 'Neither declaration style is prefered. They are exactly equivalent. 'Both ways above produce a dynamic array, which means that the exact size of '... Add solution -
PHP 2021-10-13 07:18:10
add values to array dynamically php
There are quite a few ways to work with dynamic arrays in PHP. Initialise an array: $array = array(); Add to an array: $array[] = "item"; // for your $arr1 $array[$key] = "item"; // for your $arr2 array_push($array, "item"... Add solution -
Other 2021-09-27 12:26:04
clear array vba
'In VBA to reset a dynamic array of Longs or Doubles to all zeros, the simplest way 'is to use the Redim() function. It's also extremely fast, roughly four times 'faster than iterating over the array to set each element. Sub Test_ArrayZeroing() Dim ... Add solution -
VBA 2021-09-22 15:37:03
vba static array declaration
'VBA arrays can be fixed-size (static) or resizable (dynamic). 'This is determined when the array is declared: Dim vArrA() 'dynamic: size is determined later. Dim vArrB(1 to 5) 'static: size is determined now and cannot be changed. 'Array size refers ... Add solution
Best helpers
V. G.
+5
Legion123
+5
RBarryYoung
+5
Shawn Wang
+5
LBushkin
+5
OgWestside
+5
Ryan McClure
+5
Mlevin
+5
Darah
+5
Jesse McGrew
+5
PeerPaso
+5
Bad Dog
+5
Cledoux
+5
Tae-gon Kim
+5
Jacques27
+5
E meyr
+5
Pavel Savko
+5
Jude Angione
+5
Wizongod
+5
Human
+5
Aeth
+5
Iwlpe
+5