[fpc-pascal] Parameter with no type defined?

Graeme Geldenhuys graeme at mastermaths.co.za
Tue Nov 17 07:57:00 CET 2009


Hi,

If I have a declaration as follows... what type is InData and OutData?
Pointers? If it is a generic Pointer type, then why doesn't developers
simply declare it as pointer? What is the advantage of not mentioning
the type then?


procedure TDCP_blowfish.EncryptECB(const InData; var OutData);
begin
...
end



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-pascal mailing list