VB.net - Execute code after reurn statement?

Discussion in 'ASP .Net' started by marktm@gmail.com, May 16, 2006.

  1. Guest

    Would "someSubProcedure" execute in the following example?
    Or is the rest of the function ignored once the Return statement is
    hit?

    Thanks


    Fucntion doSomething() As String
    Dim strTemp As Sting = "A"
    Return strTemp
    someSubProcedure()
    End Function
    , May 16, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    1,836
  2. Markus Franz
    Replies:
    2
    Views:
    263
    Terry Reedy
    Dec 24, 2004
  3. Markus Franz
    Replies:
    2
    Views:
    341
    Denis S. Otkidach
    Dec 28, 2004
  4. Replies:
    21
    Views:
    1,036
    Giannis Papadopoulos
    Aug 2, 2005
  5. Replies:
    3
    Views:
    525
    Patrik
    Jan 29, 2009
Loading...

Share This Page