Description
The Country
macro is used to insert country names into the string generated with the Custom String generator.
The macro is an analogue of the Country data generator.
Syntax
The macro has the following syntax:
%Country(*xN)
Parameters
*xN
Optional parameter. Specifies the number of possible repetitions of each value in series of generated strings. N is a positive number that specifies the number of repetitions: 1, 2, 3, and so on. The default parameter value is *x1
(no repetitions).
Examples
The following examples demonstrate how to use the Country macro:
-
%COUNTRY
Generates a country name.
-
%COUNTRY(*x2)
Generates a country name and repeats it two times in a sequence of generated custom strings.
Remarks
-
The country names are written in English.
-
For more information on adding macros to custom strings, see About Custom String Generator
-
For more information on general rules used for specifying macro parameters, see Custom String Generator Rules .
See Also
Macro Reference
Custom String Generator Rules
Custom String Generator
Country Generator
Using Data Generators
Generating Values