p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: evaluation of strings


Message #1 by "Stef" <sne@s...> on Tue, 6 Jun 2000 15:40:4
I may be missing something here, but can't you do this:

If MYOP = 1 then
    ' call function 1
Elseif MYOP = 2 then
    ' call function 2
End If

Cheers
Ken

----- Original Message -----
From: "Stef" 
To: "How To" <proasp_howto@p...>
Sent: Tuesday, June 06, 2000 3:00 PM
Subject: [proasp_howto] evaluation of strings


> hello asp world,
>
> I try to do the following
>
> I have 2 functions , SEL1 and SEL2, and I want to call one of these
> function with a variable ( MYOP = 1 or 2); so I try to evaluate the name
of
> the function to call ; something like this " SEL & MYOP " to have SEL1 or
> SEL2.
> How can I do that ?
>
> Thanks for your help
> Stef.



  Return to Index