comp.lang.ada
 help / color / mirror / Atom feed
From: ncohen@watson.ibm.com (Norman H. Cohen)
Subject: Re: GNAT-Problem  Set_Line(), Set_Col()
Date: 15 Nov 1994 13:30:34 GMT
Date: 1994-11-15T13:30:34+00:00	[thread overview]
Message-ID: <3aad5q$qn9@watnews1.watson.ibm.com> (raw)
In-Reply-To: 395jba$kbs@tucs6.rz.tu-cottbus.de

In article <395jba$kbs@tucs6.rz.tu-cottbus.de>, ak@informatik.tu-cottbus.de
(Andreas Krohn) writes: 

|> When I use these functions with a variable then the compiler says
|> "Invalid parameter list in call".
|> If it is a number then it works. Where is the problem ?

My guess is that you've declared the variables to be of type Integer.
Set_Line and Set_Col take parameters of the integer type Text_IO.Count.
(An integer literal is acceptable where a value of any integer type is
expected.)

--
Norman H. Cohen    ncohen@watson.ibm.com



  parent reply	other threads:[~1994-11-15 13:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-01 14:28 GNAT-Problem Set_Line(), Set_Col() Andreas Krohn
1994-11-12 15:49 ` Robert Dewar
1994-11-15 13:30 ` Norman H. Cohen [this message]
1994-11-15 17:36   ` Michael Feldman
1994-11-15 19:10     ` Tucker Taft
1994-11-15 22:41       ` Michael Feldman
1994-11-16  0:04     ` Norman H. Cohen
1994-11-16 13:48       ` Robert Dewar
1994-11-16  0:56     ` Keith Thompson
1994-11-17  2:50       ` Michael Feldman
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox