Text Function

$Text function generates random texts. There are two versions of the function. The first version operates with Value Library. The second one uses user defined phrase list.
The phrase list is a text file with one phrase per line.

The first version of the function has two parameters:

  1. (optional) maximum text length. The default value is 128.
  2. (optional) language*. The default is EN.

* - current version of the value library supports only following languages: EN, DE, FR, IT and RU.

Examples

  1. $Text(255)
  2. $Text()
  3. $Text(500,IT)

The second version of the function also has two parameters. Both are mandatory:

  1. Maximum text length.
  2. File name*.

* - the following macros can be used as a part of the file name: %APPDATA%, %DOCUMENTS%, %USERPROFILE%, %ALLUSERSPROFILE%

Examples

$Text(200,d:\phrases\estonian.txt)