A SUB can change the values of it's arguments and if you pass in a 
scripting dictionary the SUB could stash one or more variables of various 
types into the scripting dictionary. see:
http://www.learnasp.com/learn/subgetrows.asp
http://www.learnasp.com/learn/rsfast.asp
http://www.learnasp.com/learn/subdictionary.asp
for examples.

http://www.learnasp.com/learn/subgetrows.asp
adds a few variable to the scripting dictionary passed into it.

At 05:17 PM 8/5/2004, you 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?

  ----------


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004


[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