Re: [fpc-pascal]Calling Procedures via pointers

2003-10-30 Thread Andy Powell
At 15:05 30/10/2003, you wrote: At 22:50 29/10/2003, Anton Tichawa wrote: Hello, Andy! Pascal supports procedure types, which are more reliable compared to untyped pointers. Procedure types also distinguish the types of the procedure's parameters (which is not important for your parameterless call

Re: [fpc-pascal]Calling Procedures via pointers

2003-10-30 Thread Andy Powell
At 22:50 29/10/2003, Anton Tichawa wrote: Hello, Andy! Pascal supports procedure types, which are more reliable compared to untyped pointers. Procedure types also distinguish the types of the procedure's parameters (which is not important for your parameterless callback procedure). My suggestion i

[fpc-pascal]Calling Procedures via pointers

2003-10-29 Thread Andy Powell
Hi, I've been away from Pascal for about 10 years now and have just started to get back into it. So, spank me hard and call me a newbie if you must... Anyhow, onto the problem... I'm designing a unit (and a little test application) that i want to add a call back function to (as exit code)... i