Hi Dima,

the " = Nothing" doesn't do anything at all. The final compiled code
is no different. However, by appending " = Nothing" to a variable
declaration, you tell the Compiler that you WANT it to be Nothing, as
opposed you not realising it's Nothing by default. It's the DotNET
equivalent of putting your foot down.

The equivalent in VBScript would be:

Dim A
A = Null

But since VBScript doesn't have compiler warnings (only compiler/
interpreter errors), you'll never be confronted with this.

--
David Rutten
[email protected]
Robert McNeel & Associates




On Feb 19, 5:29 pm, "[email protected]"
<[email protected]> wrote:
> hi David,
>
> thank you for so rush answers!
>
> perfect it's works!
>
> Crvs_top_surface.count was for me eqw. ubound(Crvs_top_surface)
>
>  I'm interested in "= Nothing" is it eqw. points=array() in vbscript?
> or can you please make an example how to use it
> Dim points As On3dPointArray
> Dim points As On3dPointArray = Nothing
>
> Best!
> Dima

Reply via email to