McKirahan wrote:
> "Bob Barrows [MVP]" <> wrote in message
> news:uBNgEz$...
>> McKirahan wrote:
>>
>>>> This does not make a variable name in ASP-VBS
>>>
>>> But this does:
>>>
>>> If Eval("AccessOption" & i) <> "0" Then
>>
>> Yeah, but Eval is evil 
>
> Why?
Mainly, because it starts another compiler. Instead of a single compiler
being applied to your code, you now have two compliers being spawned to,
well, compile the code. See:
http://blogs.msdn.com/ericlippert/ar.../01/53329.aspx
Eval has its places, but its use should be considered as an absolute last
resort. In this case, there is a much better solution available (the array),
so eval should not be considered.
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"