Difference between revisions of "Procedure/it"

From Lazarus wiki
Jump to navigationJump to search
 
Line 1: Line 1:
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.
+
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]].  una funzione che è parte di un object è anche [[method]] se non può esserle assegnatoo un valore fuori dalla funzione, e è [[property]] nel caso contrario.
  
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.
+
puoi anche usare procedure come definizioni per le variabili,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.
  
 
{{stub}}
 
{{stub}}

Revision as of 15:14, 1 September 2006

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. una funzione che è parte di un object è anche method se non può esserle assegnatoo un valore fuori dalla funzione, e è property nel caso contrario.

puoi anche usare procedure come definizioni per le variabili,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.