Create your own text control codes: Difference between revisions
→{{header|Wren}}: Added a note to preamble.
Thundergnat (talk | contribs) m (→{{header|Raku}}: add some commentary) |
(→{{header|Wren}}: Added a note to preamble.) |
||
Line 92:
=={{header|Wren}}==
Wren's standard print statement, ''System.print'' (or ''System.write'' without a terminating new line), has no formatting capabilities whatsoever though it does support string interpolation. It cannot be changed without forking Wren itself.
When doing RC tasks, I often use methods in my own ''Wren-fmt'' module which does most of what C's ''printf'' statement does and other things besides. Although I could add anything I like to that, it's already more than 800 lines long and so I don't think it would be appropriate to patch it for the purposes of this task.
|