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,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8de940f14e471675 X-Google-Attributes: gid103376,public From: "David Botton" Subject: Re: Checking Access Parameters to Procedures Date: 2000/03/06 Message-ID: #1/1 X-Deja-AN: 594093472 References: X-Mimeole: Produced By Microsoft MimeOLE V4.72.3612.1700 X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: admin@usenetserver.com Organization: UseNet Server, Inc. http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. NNTP-Posting-Date: Mon, 06 Mar 2000 22:00:39 EST Newsgroups: comp.lang.ada Date: 2000-03-06T00:00:00+00:00 List-Id: "This" can not be NULL as it is passed in by "access". In the event that you would like to pass in a NULL value, you would have to redefine your procedure to have an in paramter of an access type. For example: package tst_pkg is type my_ttype is tagged private; type My_ttype_Access is access all My_ttype'Class; procedure tst_proc(this : My_Ttype_Access); Andy Askey wrote in message ... >I want to check if a value passed into a procedure is NULL. For >example: > procedure tst_proc(this : access my_ttype'class);