Param's for Subroutines


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Param's for Subroutines

  1. #1
    Aaron Montgomery Guest

    Param's for Subroutines

    Maybe I'm just missing something, but I want to know the WHY behind the use
    of the two param's that I've seen on all the Subroutines for ASP+ so far,
    example:

    Sub Page_Load(Source as Object, E as EventArgs)

    I assume that this is used somewhere behind the scenes by the runtime or
    something, but I haven't been able to track down the where and why yet. Any
    clues to the right direction? Am I just missing the section in the SDK that
    talks about it??

    Thanks,
    Aaron Montgomery



  2. #2
    Chris Kinsman Guest

    Re: Param's for Subroutines

    These are events for all intents and purposes. When the event is raised
    they want to give you access to information about the event. That is what
    the two args are for. Your own personal subroutines need not include them.



    "Aaron Montgomery" <aaron.montgomery@covault.com> wrote in message
    news:39944ebb$1@news.devx.com...
    > Maybe I'm just missing something, but I want to know the WHY behind the

    use
    > of the two param's that I've seen on all the Subroutines for ASP+ so far,
    > example:
    >
    > Sub Page_Load(Source as Object, E as EventArgs)
    >
    > I assume that this is used somewhere behind the scenes by the runtime or
    > something, but I haven't been able to track down the where and why yet.

    Any
    > clues to the right direction? Am I just missing the section in the SDK

    that
    > talks about it??
    >
    > Thanks,
    > Aaron Montgomery
    >
    >




  3. #3
    Ed Stegman Guest

    Re: Param's for Subroutines

    Launch this: (The 'Your path may be different. bla bla' caveat applies, as usual.)
    "C:\Program Files\NGWSSDK\Docs\sdkstart.chm"

    Read this:
    NGWS SDK Developer Specifications \ Class Library Design Guidelines

    What you are seeing is the result of (but not limited to) these 2 documents:
    1. Naming Guidelines \ Class and Class members.
    2. Class Members \ Event Usage Guidelines.

    Keep Smilin'
    Ed Stegman

    "Chris Kinsman" <ckinsman@devx.com> wrote in message news:399580c6$1@news.devx.com...
    > These are events for all intents and purposes. When the event is raised
    > they want to give you access to information about the event. That is what
    > the two args are for. Your own personal subroutines need not include them.
    >
    >
    >
    > "Aaron Montgomery" <aaron.montgomery@covault.com> wrote in message
    > news:39944ebb$1@news.devx.com...
    > > Maybe I'm just missing something, but I want to know the WHY behind the

    > use
    > > of the two param's that I've seen on all the Subroutines for ASP+ so far,
    > > example:
    > >
    > > Sub Page_Load(Source as Object, E as EventArgs)
    > >
    > > I assume that this is used somewhere behind the scenes by the runtime or
    > > something, but I haven't been able to track down the where and why yet.

    > Any
    > > clues to the right direction? Am I just missing the section in the SDK

    > that
    > > talks about it??
    > >
    > > Thanks,
    > > Aaron Montgomery
    > >
    > >

    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center