Thread View: pl.comp.lang.pascal
1 messages
1 total messages
Started by janusz.7
Wed, 15 Oct 2008 20:56
Tablicowy parametr otwarty
Author: janusz.7
Date: Wed, 15 Oct 2008 20:56
Date: Wed, 15 Oct 2008 20:56
27 lines
1755 bytes
1755 bytes
Witam mam pytanie odnośnie programiku w borland pascalu. Czemu przy
zmiennej c integer pętla dla a[i] może być poprawnie wykonana tylko 4
razy a przy tej samej zmiennej tylko że byte może być poprawnie
wykonana 8 razy bo powyżej tych wartości coś się zaczyna krzaczyć
kolorowe literki i poprzestawiane. Od czego to zależy.
Głupi problem ale mnie nurtuje. Dzięki za odpowiedzi.
uses crt;
var
c: integer;
procedure zapis(var a:array of integer);
var
i: integer;
begin
for i:=0 to 3 do begin
a[i]:=9;
writeln(a[i]);
end;
end;
begin
clrscr;
zero(c);
readln;
end.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads