AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: fmt

fmt(S) returns the string S with variable placeholders replaced by the corresponding variable values. A placeholder has the form "&ident" (without the quotation marks) where "ident" is the valid identifier of an existing variable. "&&" will produce a single ampersand character.

Example:  fmt("The radio is &π.") will return "The radio is 3.14159265359."