[fpc-pascal] Compiler allows strange statement
    Vincent Snijders 
    vsnijders at vodafonevast.nl
       
    Fri Oct 30 15:38:51 CET 2009
    
    
  
Hi,
I looked at 
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/tests/testfieldtypes.pas?r1=13971&r2=13970 
and did not understand the meaning of:
@ASQLQuery.ExecSQL;
To me it seems just a address of a method, not a statement that the compiler can 
execute. But the compiler doesn't give an error message.
Also attached sample program compiles without error. Why is there no error on the line:
   @C.Test;
Vincent
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: project1.lpr
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20091030/3efb163d/attachment.ksh>
    
    
More information about the fpc-pascal
mailing list