vbscript add item to empty array
You could store these in a simple variable like this If strRegArray(I) "vmhgfs" Then strRegArray(I) Empty End If.There is no way in VBScript to delete an array element.Edited by Dave.Clark Monday, February 10, 2014 12:46 AM Added complete script. Testing for Empty Arrays. by Dale Fugier. This guide discusses how to determine a VBScript array is empty.It is often necessary to analyze an array to determine whether or not it is empty that is, if it has any space to store elements. Each script contains a single subroutine that can be pasted into any event in a VBScript form if you are using the VBScript development environment.Create the path items Set newPath newCompoundPath.PathItems.