On Monday 25 April 2005 12:10, Florian Klaempfl wrote:

I hate to possibly annoy someone here, but I didn't get an answer yet, 
if this will be fixed or not...

> It's simply a thing to make life easier especially for beginners. I
> don't know a real reason why the arrays shouldn't be considered equal
> so fpc doesn't complain either ;)

Well, I just found the perfect reference for my argument. Your own 
compiler documentation:

<http://www.freepascal.org/docs-html/user/userse66.html#x92-179000C.4>

|Error: Incompatible types: got âarg1â expected âarg2â 
|There is no conversion possible between the two types Another
|possiblity is that they are declared in different declarations: 
|
| Var Â
|ÂÂÂÂA1Â:ÂArray[1..10]ÂOfÂInteger; Â
|ÂÂÂÂA2Â:ÂArray[1..10]ÂOfÂInteger; Â
| Â
|ÂBegin Â
|ÂÂÂÂA1:=A2;Â{ÂThisÂstatementÂgivesÂalsoÂthisÂerror,Âit Â
|ÂÂÂÂÂÂÂÂÂÂÂÂÂÂisÂdueÂtheÂstrictÂtypeÂcheckingÂofÂpascalÂ}
 Â
|ÂEnd. Â

No more questions, your honor. Case closed. ;-)


Regards,

Vinzent.


_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to