Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5743

Empty array

$
0
0

@Cyver wrote:

Hi all,

i need to check an array to determine if is empty or not, i thought "isEmpty" was appropriate , but seems to work only on string not on array, and my code return false even the arrTest value is empty.

How can i check that ?

Thx.

Call Main()
Sub Main()
	Dim arrTest()

	If isEmpty(arrTest) Then
		rhino.Print True
	Else
		rhino.Print False
	End If

End Sub

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5743

Trending Articles