Category:Fmt: Difference between revisions

Blanked page ahead of deletion.
(Added page for 'fmt' module for Wren.)
 
(Blanked page ahead of deletion.)
 
(3 intermediate revisions by the same user not shown)
Line 1:
'''fmt''' is a module which adds basic formatting capabilities to the Wren programming language. It consists of static methods organized into 3 classes: Str, 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 (on the talk page) to a text file called ''fmt.txt'' and place this in the same directory as the importing script so the command line interpreter can find it.
9,476

edits