[thelist] Intrinsic Constants in JScript?

Gregory.John.Toland at census.gov Gregory.John.Toland at census.gov
Thu Oct 5 16:11:46 CDT 2000


I am writing some remote scripting (server-side) code using JScript.  Are there
intrinsic constants in JScript similar to VBScript?  In other words I have the
following code:

      oCmd = Server.CreateObject("ADODB.Command");
      oCmd.CommandText = "SelRecEvalLvl3";

      // Set Command Type to adCmdStoredProc
      oCmd.CommandType = 4;

If I were to try:
      oCmd.CommandType = adCmdStoredProc;

I get an error.  Am I to assume the concept of intrinsic constants does not
exist in JScript?

Greg






More information about the thelist mailing list