Results 1 to 3 of 3

Thread: What is the Imports statement for?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2003
    Location
    C:\Windows\Microsoft.NET\Framework
    Posts
    574

    What is the Imports statement for?

    The few places I've read till now say that the Imports statement does not add any code but only facilitates the declaration of the namespace so that the programmer does not have to qualify every external method of property with the namespace qualifier.

    As opposed to this, we have the C/C++/VC++ #include pre-processor directive that actually pastes code before compilation.

    My question is, am I right in thinking that the #include and the Imports statement are different in their behaviour? And what does the JDK import directive do - is it like the VB.NET imports directive or is it a pre-processor directive that actually pastes external function prototypes?

  2. #2
    Frenzied Member Memnoch1207's Avatar
    Join Date
    Feb 2002
    Location
    DUH, Guess...Hint: It's really hot!
    Posts
    1,861
    Being educated does not make you intelligent.

    Need a weekend getaway??? Come Visit

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2003
    Location
    C:\Windows\Microsoft.NET\Framework
    Posts
    574
    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width