From Rosetta Code
Revision as of 10:21, 11 December 2021 by PureFox (talk | contribs) (Tidied links.)
This is an example of a library. You may see a list of other libraries used on Rosetta Code at Category:Solutions by Library.

Wren-fmt is a module which adds basic formatting capabilities to the Wren programming language. It consists of static methods organized into 2 classes: Conv and Fmt. As it is expected they will be mostly used within interpolated strings, most methods in the Fmt class have very short names reminiscent of the printf verb names in C-family languages.

It is the first in a series of modules (listed on the language's main page) designed to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily.

To use it all you need to do is to copy the source code (in the talk page) to a text file called fmt.wren and place this in the same directory as the importing script so the command line interpreter can find it.

Pages in category "Wren-fmt"

The following 200 pages are in this category, out of 645 total.

(previous page) (next page)
(previous page) (next page)