comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dstanbro@bigpond.net.au>
Subject: Re: Compiler error: 'Expect procedure name in procedure call'
Date: Tue, 05 Nov 2002 09:55:38 GMT
Date: 2002-11-05T09:55:38+00:00	[thread overview]
Message-ID: <dstanbro-4B9F71.20552305112002@mec2.bigpond.net.au> (raw)
In-Reply-To: 445cd6bf.0211050129.3afa4d54@posting.google.com

In article <445cd6bf.0211050129.3afa4d54@posting.google.com>,
 j_del_strother@hotmail.com (Jon) wrote:

> 
> In some cases, absolutely.  For example, flipping a bitmap to the DC
> will return the old bitmap that was originally stored there.  I then
> have to create a useless temporary variable for it...


The solution is to create a procedural version of the C function
which assigns the return value to an ignored local variable.

Because you can overload subprograms by return type, you can have
both of them in the same package.

Dale



  reply	other threads:[~2002-11-05  9:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-04 15:05 Compiler error: 'Expect procedure name in procedure call' Jon
2002-11-04 15:35 ` Stephen Leake
2002-11-04 19:57   ` Jon
2002-11-04 20:35     ` Björn Lundin
2002-11-04 20:53       ` Björn Lundin
2002-11-04 20:48     ` Jim Rogers
2002-11-04 21:08       ` Stephen Leake
2002-11-05 22:15         ` Frank J. Lhota
2002-11-05 20:51       ` Programmer Dude
2002-11-06 15:06         ` Ted Dennison
2002-11-04 21:40     ` Vinzent Hoefler
2002-11-05  9:29       ` Jon
2002-11-05  9:55         ` Dale Stanbrough [this message]
2002-11-06 23:29         ` Randy Brukardt
2002-11-05 14:22     ` Ted Dennison
replies disabled

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