out.spad line 121 [edit on github]
DisplayPackage allows one to print strings in a nice manner, including highlighting substrings.
bright(l)
sets the font property of a list of strings, l
, to bold-face type.
bright(s)
sets the font property of the string s
to bold-face type.
center(l, i, s)
takes a list of strings l
, and centers them within a list of strings which is i
characters long, in which the remaining spaces are filled with strings composed of as many repetitions as possible of the last string parameter s
.
center(s, i, s)
takes the first string s
, and centers it within a string of length i
, in which the other elements of the string are composed of as many replications as possible of the second indicated string, s
which must have a length greater than that of an empty string.
copies(i, s)
will take a string s
and create a new string composed of i
copies of s
.
newLine()
sends a new line command to output.
say(l)
sends a list of strings l
to output.
say(s)
sends a string s
to output.
sayLength(l)
returns the length of a list of strings l
as an integer.
sayLength(s)
returns the length of a string s
as an integer.