Export (0) Print
Expand All

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.

Community Additions

Show:
© 2014 Microsoft