From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,76878622fd40c57 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-11-15 07:15:28 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!newsgate.watson.ibm.com!watnews.watson.ibm.com!ncohen From: ncohen@watson.ibm.com (Norman H. Cohen) Newsgroups: comp.lang.ada Subject: Re: GNAT-Problem Set_Line(), Set_Col() Date: 15 Nov 1994 13:30:34 GMT Organization: IBM T.J. Watson Research Center Distribution: world Message-ID: <3aad5q$qn9@watnews1.watson.ibm.com> References: <395jba$kbs@tucs6.rz.tu-cottbus.de> Reply-To: ncohen@watson.ibm.com NNTP-Posting-Host: rios8.watson.ibm.com Date: 1994-11-15T13:30:34+00:00 List-Id: 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