From: Doni Pracner Date: Wed, 15 May 2013 15:01:25 +0000 (+0200) Subject: treba puniti i red, ne samo stek X-Git-Tag: v14a~8^2~32 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=e722c1dc1ee2d3d3acb521f03bbc8390b9efade7;p=spa1skripta-public.git treba puniti i red, ne samo stek --- diff --git a/kodovi/stek-redopsl/stekred.mod b/kodovi/stek-redopsl/stekred.mod index ba3a3ac..7b5bf09 100755 --- a/kodovi/stek-redopsl/stekred.mod +++ b/kodovi/stek-redopsl/stekred.mod @@ -30,7 +30,7 @@ BEGIN END; (* ubacujemo elemente u red opsl *) FOR i:=1 TO Length(str) DO - Push(s, str[i], ok); + AddRear(q, str[i], ok); END; WriteLn; WriteString("sadrzaj steka");