Category:Fmt: Difference between revisions

From Rosetta Code
Content added Content deleted
(Amended following transfer of Str class to a new module.)
(Blanked page ahead of deletion.)
 
Line 1: Line 1:
'''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 [[https://rosettacode.org/wiki/Category:Wren 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 [[https://rosettacode.org/wiki/Category_talk:Fmt 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.

Latest revision as of 10:37, 25 May 2020

This category currently contains no pages or media.