Rope Language Reference - "neg"

The "neg" action word negates the value on the top of the stack. For example, it turns "10" into "-10", or "-196" to 196.

If AnchorBrackets syntax is used, only one argument must be passed.

Some examples that print "-10" ...

10 neg println
println(neg(10))

See Also

abs