gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 391e0a1)
raw | patch | inline | side by side (parent: 391e0a1)
author | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 12 Feb 2014 11:50:45 +0000 (12:50 +0100) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Wed, 12 Feb 2014 11:50:45 +0000 (12:50 +0100) |
kodovi/polinomi/POLINOML.MOD | patch | blob | history |
index 74af962c988ff9ce1be426d931c151374d47dcef..20e64ea213815df5f7f1f41fb2a0afa7f52da290 100644 (file)
\r
PROCEDURE Puta(p1, p2: Polinom; VAR pr: Polinom);\r
VAR\r
- pomocni: Polinom;\r
+ pomocni, brisi: Polinom;\r
BEGIN\r
Anuliraj(pr);\r
IF (p1 <> NIL) AND (p2 <> NIL) THEN\r
MonomPuta(p1, p2, pomocni);\r
REPEAT\r
UbaciMonom(pomocni, pr);\r
+ brisi := pomocni;\r
pomocni := pomocni^.veza\r
+ DISPOSE(brisi);\r
UNTIL pomocni = NIL;\r
p2 := p2^.veza\r
END\r