String (Reserved Word)

image\trumpet2.gif Disclaimer

This reserved word can be used in two different ways. It can be used to explicitly declare the data type of an input or variable in a study or function, and it can be used to declare the expected data type of an input to a function. The function usage is illustrated below.

When used to declare the expected data type of an input to an EasyLanguage function, this reserved word indicates that the input is expected to be a string expression passed by value. It can be used, as in the examples shown below, to declare a string input that has historical values available (a series input), or a string input that does not have historical values available (a simple input).

String

Remarks

String can be used for inputs that can be either StringSimple or StringSeries.

Examples

Input: MyMessage(String);

declares the constant MyMessage as a text string value to be used in a function.

Input: NewMessage(String);

declares the constant NewMessage as a text string value to be used in a function.