Thanks for the reply. A session variable sounds a bit drastic. Is there a simpler way?
Joel -----Original Message----- From: Hany Reyad [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 4:21 PM To: [EMAIL PROTECTED] 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 Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/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/
