R – Any other preprocessor directives in VBScript/Classic ASP

asp-classicpreprocessorvbscript

The only pre-process directive that I know about in VBScript / Classic ASP is the #include. I don't know if that is the official name but I'm basically looking for code that can execute code or other instructions before the general VBScript.

Are there any other such directives in VBScript? Such as #If or something?

I'd like to be able to conditionally include or exclude a certain include file.

Best Answer

There are six directives. They are:

  • include

  • config

  • echo

  • fsize

  • flastmod

  • exec