It's just that you included an incomplete Imports section which are
automatically added (and cannot be altered).

Also, I'm wondering why you need a special Namespace in your Script.

Are you getting errors when you try and commit this code?

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


On Apr 6, 6:42 pm, CMRHM <[email protected]> wrote:
> David:
>
> Inside the script Editor of GH.
>
> Anything wrong?
>
> Also, I guess we don't need Main() in VB.NET, do we?  Do you provide a
> complete code file structure for the demo like including main(), sub()
> and etc.?
>
> On Apr 6, 6:06 am, David Rutten <[email protected]> wrote:
>
> > CMRHM,
>
> > it looks correct to me... where are you writing this?
>
> > --
> > David Rutten
> > [email protected]
> > Robert McNeel & Associates
>
> > On Apr 6, 7:02 am, CMRHM <[email protected]> wrote:
>
> > > I here write a VB.NET basic code file structure. If there is sth
> > > incorrect, please point it out:
>
> > > 'set a number of options to prevent syntax and logical errors
> > > Option Explicit On
>
> > > 'imports namespaces
> > > Imports System.IO
>
> > > 'main code
> > > Namespace Hello
> > >  Public Class Employee
> > >  ...
> > >  End Class
> > > End Namespace

Reply via email to