From 1540e615f13503722f1067c693f3d394218cbd9e Mon Sep 17 00:00:00 2001 From: Paulo Antonio Alvarez Date: Wed, 4 Oct 2017 21:04:51 -0300 Subject: interpreter: Add warning function --- docs/markdown/snippets/warning_function | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docs/markdown/snippets/warning_function (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/warning_function b/docs/markdown/snippets/warning_function new file mode 100644 index 0000000..537651e --- /dev/null +++ b/docs/markdown/snippets/warning_function @@ -0,0 +1,6 @@ +# Added warning function + +This function prints its argument to the console prefixed by "WARNING:" in +yellow color. A simple example: + +warning('foo is deprecated, please use bar instead') -- cgit v1.1