High minus: Difference between revisions

Jump to navigation Jump to search
18 bytes removed ,  14:37, 16 March 2020
no edit summary
No edit summary
No edit summary
Line 3: Line 3:
A high minus is also used in the TI-Basic programming language to differentiate negation from subtraction.<ref>TI-Basic Developer: [http://tibasicdev.wikidot.com/68k:negative The ‾ Command]</ref>
A high minus is also used in the TI-Basic programming language to differentiate negation from subtraction.<ref>TI-Basic Developer: [http://tibasicdev.wikidot.com/68k:negative The ‾ Command]</ref>


[[J]] uses a "low minus" (an underscore; <source lang=j inline>_</source>) as negative sign, while [[K]] requires at least one space between a dash (<source lang=k inline>-</source>) and a numeric literal to access the subtraction function as opposed to having the dash be interpreted as a negative sign.
[[J]] uses a "low minus" (an underscore; <source lang=j inline>_</source>) as negative sign, while [[K]] requires at least one space between a dash (<code>-</code>) and a numeric literal to access the subtraction function as opposed to having the dash be interpreted as a negative sign.


== Examples ==
== Examples ==

Navigation menu