Procedure/it

From Free Pascal wiki
Revision as of 11:33, 31 August 2006 by Onr (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

una procedura è la dichiarazione di una routine che può essere chiamata dall'unità che la dichiara, da fuori se la procedura è pubblica(dichiarata in sezione interface ), o da un program, questa routine non riporta un valore come parte della sua definizione. una procedura che riporta il valore è detta function. se è parte di un oggetto è deta method. A function that is part of an object is also a method if it cannot be assigned a value from outside of the function, and is a property if it can be assigned a value from outside of the function.

You can also use procedure as type definition for your variables,which by it you can make your variables being treated as procedures.You can also use function for functions and procedure/function(..) of object for methods.

An editor has declared this article to be a stub, meaning that it needs more information. Can you help out and add some? If you have some useful information, you can help the Free Pascal Wiki by clicking on the edit box on the left and expanding this page.