> What is that Magic Numbers best practice?
> I had tried a quick search in Google,
> but nothing seems to make sense in the context of ASP

This refers to using constant names rather than numeric values. E.G. use
'adOpenKeyset' rather than '1' for command param. This makes code more
understandable and human readable.

Either include adovbs.inc in the page or better, this in global.asa:

<!--
METADATA
TYPE="typelib"
FILE="c:\program files\common files\system\ado\msado20.tlb"
-->

--
Lonnie Kraemer
-----------------------------------------


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to