> Hi again -
>
> another question; what is the best way to "fail" a constructor call? For
> example, I have a constructor "timage.loadimage()", and I want it to
> return
> "nil" if it encounters a problem (e.g. the file name doesn't exist). My

Use fail :-)



_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to