From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: tasks as part of record
Date: Sun, 05 Oct 2014 22:43:13 -0700
Date: 2014-10-05T22:43:13-07:00 [thread overview]
Message-ID: <m0ta5h$su0$1@dont-email.me> (raw)
In-Reply-To: <c474fef2-701c-4968-94eb-aec57bee0dd3@googlegroups.com>
On 10/05/2014 08:47 PM, Stribor40 wrote:
> I though it would be easier if task is componenet of record. What i would
> like is that every time task runs i would like to operate on components of
> student record.
>
> For example for each student there will be one tasks. When each tasks run i
> want it to identify yourself to the screen with student number value. For
> example
Typically this should be done by having the components in the task, rather than
the task in a record. That is, rather than
task type Actor is
...
end Actor;
type R is record
F1 : ...;
F2 : ...;
T : Actor;
end record;
it's usually better to have
task body Actor is
F1 : ...;
F2 : ...;
--
Jeff Carter
"Saving keystrokes is the job of the text editor,
not the programming language."
Preben Randhol
64
next prev parent reply other threads:[~2014-10-06 5:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-04 13:11 tasks as part of record Stribor40
2014-10-04 13:33 ` Simon Wright
2014-10-04 22:12 ` Stribor40
2014-10-05 7:36 ` Jacob Sparre Andersen
2014-10-05 8:11 ` Niklas Holsti
2014-10-06 3:47 ` Stribor40
2014-10-06 5:43 ` Jeffrey Carter [this message]
2014-10-06 7:18 ` Niklas Holsti
2014-10-06 8:00 ` Dmitry A. Kazakov
2014-10-06 11:40 ` G.B.
2014-10-06 8:06 ` Simon Wright
2014-10-06 8:24 ` Simon Wright
2014-10-12 22:33 ` compguy45
2014-10-13 7:32 ` Simon Wright
2014-10-13 14:45 ` compguy45
2014-10-13 15:33 ` Shark8
2014-10-18 18:21 ` Stephen Leake
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox