Expression.Constant
Vraća reprezentaciju M izvornog koda vrednosti konstante.
Syntax
Expression.Constant(
value as any
) as text
Remarks
Vraća reprezentaciju M izvornog koda vrednosti konstante.
Examples
Example #1
Preuzmite reprezentaciju M izvornog koda vrednosti broja.
Expression.Constant(123)
Result:
"123"
Example #2
Preuzmite reprezentaciju M izvornog koda vrednosti datuma.
Expression.Constant(#date(2035, 01, 02))
Result:
"#date(2035, 1, 2)"
Example #3
Preuzmite reprezentaciju M izvornog koda tekstualne vrednosti.
Expression.Constant("abc")
Result:
"""abc"""
Category
Expression