comp.lang.ada
 help / color / mirror / Atom feed
From: Adrien Plisson <aplisson-news@stochastique.net>
Subject: Re: help in task, what is wrong?
Date: Sun, 24 Apr 2005 16:09:11 +0200
Date: 2005-04-24T16:09:11+02:00	[thread overview]
Message-ID: <426ba7fb$0$30477$ba620e4c@news.skynet.be> (raw)
In-Reply-To: <1114347735.376048.213420@o13g2000cwo.googlegroups.com>

mferracini wrote:
>    task type Schedulatore is

you declared Schedulatore as a task TYPE, but did not declare any object 
of this type to use for AddTask.

either it should ba a simple task (not a task type), or you should 
declare an object of type Schedulatore.

>  schedulatore.Addtask(Task_X); give me this error:
> invalid use of subtype mark.

btw, this error does not say that the problem is in passing the pointer: 
it says you misused the name of a type, in this case Schedulatore.

-- 
rien




  parent reply	other threads:[~2005-04-24 14:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-24 13:02 help in task, what is wrong? mferracini
2005-04-24 14:02 ` Ed Falis
2005-04-24 14:09 ` Adrien Plisson [this message]
2005-04-24 15:28   ` mferracini
2005-04-24 18:19 ` 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