From: "Kasia Krysiak" <kasiool@o2.pl>
Subject: my program
Date: Mon, 29 Dec 2003 16:07:17 +0100
Date: 2003-12-29T16:07:17+01:00 [thread overview]
Message-ID: <bspfvv$mpo$1@atlantis.news.tpi.pl> (raw)
I'm start to lern ada , and i have some problems...
this is my new program, and i have a question how to inicialize
Task1:Male(Id=>1); Task2:Male(Id=>2); task3:male(id=>3); (last 3 lines of
code in loop? becouse i should to have the number od male dymaic. I tryided
to do this in arry but i couldnt inlicjalize this id's sorry 4 my english
it isnt good I KNOW!!! - but I'm trying :)
task type Male(Id: integer);
task body Male is
procedure zadzwon is
Zmienna_Plikowa :File_Type;
begin
create(zmienna_plikowa,out_file, "id.txt");
end zadzwon;
procedure Wlasne_Sprawy is
begin
for counter in 1..10 loop
new_line;
Put(Item => "dupa ");
end loop;
end wlasne_sprawy;
begin
zadzwon;
Wlasne_Sprawy;
end Male;
Task1:Male(Id=>1);
Task2:Male(Id=>2);
task3:male(id=>3);
next reply other threads:[~2003-12-29 15:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-29 15:07 Kasia Krysiak [this message]
2003-12-29 18:16 ` my program Martin Krischik
2003-12-29 23:02 ` Martin Dowie
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox