Description
The City
macro is used to insert city names into strings generated with the Custom String generator.
The macro is an analog of the City data generator.
Syntax
The macro has the following syntax:
%City(*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 City macro:
-
%CITY
Generates a city name.
-
%CITY(*x3)
Generates a country name and repeats it three times in series of generated custom strings.
Remarks
-
City 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
City Generator
Using Data Generators
Generating Values