Constant values

Modified on Wed, 17 May, 2023 at 12:35 PM

If you want to use a constant, non-calculated value in an expression, you can do this by using the following syntax, which depends on the data type of the constant you want to use.

Text. 

If you want to write a text constant, the following syntax may be used:

"Hello World!"


Number.

If you want to write a numeric constant, the following syntax may be used:

2018

Date. 

If you want to write a date constant, the following syntax may be used:

#2018-12-31#


For instance, if you simply want the expression to return the number 2018, the expression looks like this:

2018

If you want the expression to return the text Hello World, the expression looks like this:

"Hello World"


Inserting Constant Values 

In some cases, you do not want to type a constant value but rather pick it from a list of values which is offered by Mail & Deploy. 




Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article