Specific Identification for Some Parameters

Applies to LoadComplete 4.97, last modified on May 20, 2019

Using the Custom String generator, you can put the values produced by other generators together (in one string). To specify text that will be added to all the generated strings, just type this text in the Value edit box. To specify the value produced by a generator, type % and then specify the desired macro name. For this purpose, click Add Macro and select the generator (the one you want to include in the generated string) in the ensuing drop-down list - the specified macro name and the macro’s parameters will be added to the Value edit box. The parameters are specified after the macro name and are enclosed in brackets. The list below contains special designations that are used for these parameters:

  • *xN - specifies the number of repetitions of each value (N times). For example, *x3 equals the Duplicate each value 2 time(s) generator’s parameter. For instance, you can use this parameter in the following macro:

    %INT(0, 100, *x2)

    In this case, each generated value will be repeated 2 times in succession in the generated column.

  • *RND or *Random - specifies that the Random Generation mode is selected. For example, you can use this parameter in the following way:

    %REAL(-102.500, 102.500, 3, *RND)

  • *SEQ or *Sequential - specifies that the Sequential Generation mode is selected. For example, you can use this parameter in the following way:

    %REAL(-102.500, 102.500, 3, 4, *SEQ)

    Here, -102.5 is the minimum value, 102.5 is the maximum value, 3 is the decimal places count, 4 is the increment value.

  • *FILE: - specifies the path to the file to load a set of values from (the Value From a Set macro). For example, you can use the following string:

    %SET(*FILE: C:\Values.txt)

  • FULL/ABBR or FULL/Abbreviated - specifies the value of the Format parameter. For example, you can use this parameter in the following way:

    %STATE(FULL)
    -- or --
    %STATE(ABBR)

  • L/D/S/P or Letters/Digits/Spaces/Punctuation marks - specifies whether the String macro uses letters, digits, spaces and punctuation marks to generate text.

    For example, you can use this parameter in the following way:

    %STR(1, 8, L, Digits, S, P)

    In this case, the macro generates a string that consists of 1 to 8 characters and uses letters, digits, spaces and punctuation marks to generate the string.

    The %STR(4, Letters, 10, P) macro generates a strings that consists of 4 to 10 characters and uses only letters and punctuation marks to generate the string.

  • The other parameter names correspond to the parameter names of the appropriate generators.

See Also

About Custom String Generator
Custom String Generator
Data Generators Reference

Highlight search results