Sign in Join
Wiki copytemporary

Minus/ru: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Minus/ru

OldNewLine
1+<div style="float:left; margin: 0 10px 10px 0; padding:40px; font-size:500%; font-family: Georgia; background-color: #f9f9f9; border: 2px solid #777777;">
2+
3+\-
4+
5+</div>
6+
7+Символ ***-*** (читается "минус") используется для вычитания одного числа из другого (*число_слева* минус *число_справа*); результатом будет число. Если число справа больше числа слева, то в результате получится отрицательное число.
8+
9+``` pascal
10+ A := 1 - 3; // -> A = -2
11+```
12+
13+---
14+*From the Free Pascal wiki, page "Minus/ru", as it stood on 2020-02-20 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history