From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 28 Oct 92 21:25:12 GMT From: eachus@mitre-bedford.arpa (Robert I. Eachus) Subject: Re: serial port, console IO Message-ID: List-Id: In article <1992Oct28.091237.408@doc.bmd.trw.com> nickgill@doc.bmd.trw.com writ es: When you use the Alsys board support packages, the parameters passed when instantiating the generic paclage CONSOLE_IO are the following: package SERIAL_PORT is new CONSOLE-IO( X0N_XOFF =>TRUE, ECHO =>TRUE, LINE_EDIT =>TRUE, IN_BUF_SIZE =>512, OUT_BUF_SIZE =>512, GET_SERIAL_VECTOR_OFFSET=> GET_SERIAL_VECTOR_OFFSET, PUT_CHAR =>PUT_CHAR); Can someone explain the last three lines of the above? Assuming that CONSOLE-IO is really CONSOLE_IO, what it means is that the locally visible routines or variables named GET_SERIAL_VECTOR_OFFSET and PUT_CHAR are matched to the generic formal parameters of the same name in CONSOLE_IO. To say more I would need to see the entire enclosing package AND the declaration of CONSOLE_IO. (But when you look at them it should become obvious.) -- Robert I. Eachus with Standard_Disclaimer; use Standard_Disclaimer; function Message (Text: in Clever_Ideas) return Better_Ideas is...