Sign.opIndexAssign

Sets the given texts in every line of the sign.

  1. void opIndexAssign(string[4] texts)
  2. void opIndexAssign(string text)
    class Sign
    void
    opIndexAssign
    (
    string text
    )
  3. void opIndexAssign(string text, size_t index)

Parameters

text string

the text to be set in every line

Examples

sign[] = "line";
assert(sign[] == ["line", "line", "line", "line"]);

Meta