In our previous episode, Felipe Monteiro de Carvalho said:
> Nil is not a routine, it is a value, it means that the object is
> empty, it does not exist / is not allocated. Nil in existing
> implementations that I know is represented by the value zero.

Look better in, euh, Free Pascal, and see what is assigned in this case:-)


type txxxx = procedure (a,b:integer) of object;
 
var x : txxxx;
begin
  x:=nil;
end.

nil is not always zero. Sometimes it is double zero :-)



_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to