========================== Unary Arithmetic Operators ========================== `M言語プログラミングブック`_ [WALTERS1997]_ から引用 Page 47 Unary operators are the + and - arithmatic operators if they appear in front of a single operand. Using Unary Operators, strings can be converted to numerical values. The unary "plus" sign does not change the string (It returns the numeric value of the string), the negative unary sign, "minus" changes the sign of the value. Example: :: SET A=0 SET B=1 SET C=-1 WRITE +A returns 0 WRITE -A returns 0 WRITE +B returns 1 WRITE -B returns -1 WRITE +C returns -1 WRITE -C returns 1 .. _M言語プログラミングブック: http://books.google.com/books?id=jo8_Mtmp30kC&printsec=frontcover&dq=M+Programming&hl=en&sa=X&ei=2mktT--GHajw0gHnkKWUCw&ved=0CDIQ6AEwAA#v=onepage&q=M%20Programming&f=false .. _GT.M Programmer's Guide: http://tinco.pair.com/bhaskar/gtm/doc/books/pg/UNIX_manual/index.html