NeturalMath Language Definition and Syntax

The printf keyword

The printf keyword analyzes the statement following it, potentially simplfies it and returns the result to the console. If the statement is defined in terms of a variable, that variable will be included as part of the output. If the statement is a simple function, the definition of that function will be returned.

Usages

:> printf 10

10
:> x = 10
:> printf x

x = 10
:> f(y) = y + 3
:> printf f()

f(y) = y + 3

See also

This section is not complete

Last edited Oct 14, 2010 at 4:10 PM by zanethorn, version 1

Comments

No comments yet.