tout
Print a string to the stdout and set it’s data-type
Write parameters to stdout without a trailing new line character. Cast the output’s data-type to the value of the first parameter.
tout data-type "string to write" -> <stdout>
» tout json { "Code": 404, "Message": "Page not found" } -> pretty
{
"Code": 404,
"Message": "Page not found"
}
tout
supports ANSI constants.
Unlike out
, tout
does not append a carriage return / line feed.
(brace quote)
: Write a string to the stdout without new line (deprecated)cast
: Alters the data-type of the previous function without altering its outputerr
: Print a line to the stderrformat
: Reformat one data-type into another data-typeout
: Print a string to the stdout with a trailing new line characterpretty
: Prettifies JSON to make it human readableThis document was generated from builtins/core/io/echo_doc.yaml.
This site's content is rebuilt automatically from murex's source code after each merge to the master
branch. Downloadable murex binaries are also built with the website.
Last built on Thu Aug 15 14:38:34 UTC 2024 against commit 50ed9d650ed9d6df391240d3c2c02e623636e508dfcdad1.
Current version is 6.2.4000 which has been verified against tests cases.