Seeding from the 1.2 tree.

This commit is contained in:
Dan Mashal
2013-01-01 03:00:55 -08:00
parent d8c87c4ded
commit 87b806a563
1424 changed files with 260320 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
Synopsis:
$repeat(<count> <text>)
Technical:
This function returns a string composed of the input text concatenated
to itself the specified number of times.
Practical:
This function has many potential uses. For example, it would be used to
format output from a script such that it is always the width of the
current window. This has the side bonus of removing the need to hard-
code formatting devices (table headers and such), which tend to look
rather messy in source code.
Returns:
input string repeated count times
Examples:
$repeat(5 hello) returns "hellohellohellohellohello"
$repeat(5 ) returns " " (spaces)