Hi
On Thu, 16 Nov 2000, Frank Heckenbach wrote:
Prof. A Olowofoyeku (The African Chief) wrote:
On 16 Nov 2000, at 14:32, Eike Lange wrote:
Hi! I'm trying to cast a Function to a procedure, but my little program fails with a "Segmentation fault".
...
Type bar = Procedure(a:Integer);
...
BarFunc := bar( ... );
Am I missing something here? This looks like trying to use a proceedure as a function, which is a no-no.
If you want to use a function as a proceedure why not just do it? The compiler will complain with a warning message, but it works.
Thanks Russ