次の方法で共有


Expected literal constant

You declared a constant, but assigned it a variable expression (a value that can change). Constants cannot contain runtime code.

To correct this error

  • Do not use expressions when declaring constants.

See Also

Concepts

VBScript Constants

Reference

Constants (VBScript)

Const Statement (VBScript)