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=-1.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b22211eabfb58b72 X-Google-Attributes: gid103376,public From: johnherro@aol.com (John Herro) Subject: Re: Help! Date: 1996/10/01 Message-ID: <52s3qb$foi@newsbf02.news.aol.com>#1/1 X-Deja-AN: 186550017 sender: root@newsbf02.news.aol.com references: <3250AE4D.100191BB@labyrinth.cftnet.com> organization: America Online, Inc. (1-800-827-6364) newsgroups: comp.lang.ada Date: 1996-10-01T00:00:00+00:00 List-Id: Cheryl Earnest writes: >The Compilation error is "invalid paramater in call" ... > package flt_io is new Float_Io(Float); > package int_io is new Integer_Io(Integer); > package boolean_io is new enumeration_io(Boolean); > ... > put_line(net_pay, AFT=>2,EXP=>0); The put_line above should be changed to put(net_pay, AFT=>3,EXP=>0); new_line; because Float_IO (and therefore flt_io) doesn't have a put_line, only a put. (The new_line in the corrected code above will come from Text_IO.) Also, since you're not using dot notation for the packages, you should add USE clauses to your three instantiations, like this: package flt_io is new Float_Io(Float); use flt_io; package int_io is new Integer_Io(Integer); use int_io; package boolean_io is new enumeration_io(Boolean); use boolean_io; That should fix everything. When you run the program and type the number of dependents, don't forget that you're inputting a float. E.g., type "3.0", not "3". I hope this helps. - John Herro Software Innovations Technology http://members.aol.com/AdaTutor ftp://members.aol.com/AdaTutor