You could just make the variable global in the first place. 

- Cynthia Leslie
  ----- Original Message ----- 
  From: Hany Reyad 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, August 05, 2004 5:21 PM
  Subject: Re: [AspClassicAnyQuestionIsOk] Pass variable FROM subroutine


  Ok try  to save it as a session variable 
  wish it works with your code 
  Good  Luck 
  Hany Reyad

  Joel Elias <[EMAIL PROTECTED]> wrote:
  Is it possible to pass a variable from a subroutine to the main part of an
  ASP page? How?


  Example:
  sub testsub()

        Code generates value of the variable "testvariable"

  end sub


  testsub()
  if testvariable = true then

        do something

  end if

  I know I can pass variables to the subroutine, but how about going the other
  way?

  Thanks in advance - Joel



  Yahoo! Groups SponsorADVERTISEMENT


  ---------------------------------
  Yahoo! Groups Links

     To visit your group on the web, go to:
  http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
    
     To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
    
     Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


              
  ---------------------------------
  Do you Yahoo!?
  Yahoo! Mail is new and improved - Check it out!

  [Non-text portions of this message have been removed]


        Yahoo! Groups Sponsor 
              ADVERTISEMENT
             
       
       


------------------------------------------------------------------------------
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
      
    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]
      
    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to