Re: [fpc-pascal] Asm

2005-11-05 Thread Florian Klaempfl
Carsten Bager wrote: > The below Pascal code cannot compile with ARM Pascal > compiler. If I use $E034 as constant it compiles. I am Just checked with 2.1.1, probably a bug in 2.0.0 which has been fixed meanwhile. c:\fpc>type testarm.pp Var VICDefVectAddr : Pointer Absolute $F034; P

[fpc-pascal] Sparc future?

2005-11-05 Thread Florian Klaempfl
While planning the 2.0.2 release building, I was thinking about the future of the sparc port (linux). The download numbers are little, see e.g. sf: http://sourceforge.net/project/showfiles.php?group_id=2174. Further, it even seems that Sun doesn't thrust in it anymore but uses AMD64. Since sparc is

[fpc-pascal] Question on method pointers

2005-11-05 Thread dhkblaszyk
I have a question regarding the assignment of the result of a function. The function is declared as such: TMyFunc = function : extended of Object; I have a variable that is of this type and I want to assign the result of this function to a variable of type extended. I was thinking to do it like t

Re: [fpc-pascal] Question on method pointers

2005-11-05 Thread Jonas Maebe
On 05 Nov 2005, at 20:21, [EMAIL PROTECTED] wrote: I have a variable that is of this type and I want to assign the result of this function to a variable of type extended. I was thinking to do it like this; var MyFuncVar: TMyFunc; MyResult := MyFuncVar; But obviously it does not work.

Re: [fpc-pascal] Question on method pointers

2005-11-05 Thread dhkblaszyk
It works, thanks > > On 05 Nov 2005, at 20:21, [EMAIL PROTECTED] wrote: > >> I have a variable that is of this type and I want to assign the >> result of >> this function to a variable of type extended. I was thinking to do >> it like >> this; >> >> var MyFuncVar: TMyFunc; >> >> MyResult := M