1 :Info: copy_string: cps: 2021-11-11 copy_string, cps
2
3 Syntax as a command: cps STRING COUNT
4
5
6 Syntax as an active function: cps STRING COUNT
7
8
9 Function:
10 copy_string provides the string-replication features of the PL/I copy
11 builtin function in Multics command lines. When invoked as an active
12 function, it returns the STRING argument repeated COUNT times. Nothing
13 separates the replicas from one another.
14
15
16 Arguments:
17 STR
18 specifies the character string to replicate.
19 COUNT
20 specifies how many times to repeat the STRING argument.
21
22
23 Examples:
24 cps abc 3
25 abcabcabc
26
27 cps 9 59
28 99999999999999999999999999999999999999999999999999999999999
29
30
31 :hcom:
32 /****^ HISTORY COMMENTS:
33 1) change2021-11-11GDixon:
34 A) Initial value of the copy_string command/AF info seg.
35 END HISTORY COMMENTS */
36
37