User Tools

Site Tools


tutorial:procedureandfunction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorial:procedureandfunction [2019/01/04 16:02]
admin
tutorial:procedureandfunction [2019/01/04 16:03]
admin [By Reference]
Line 148: Line 148:
 </​sxh> ​ </​sxh> ​
  
-\\+
 <hidden Example-6: Passing Parameters (By Value, By Reference)>​ <hidden Example-6: Passing Parameters (By Value, By Reference)>​
 <sxh delphi;> <sxh delphi;>
-program ​Project1;+program ​Passing_Param;
  
 var A,​B:​integer;​ var A,​B:​integer;​
Line 182: Line 182:
   readln();   readln();
 end.  end. 
-</​sxh> ​    ​+</​sxh> ​ 
 + 
 +Compiled Results: 
 + 
 +  A = 1 
 +  B = 2 
 +  DoItA, X = 100 
 +  DoItB, X = 200 
 +  A = 1 
 +  B = 200 
 +    ​
 </​hidden>​ </​hidden>​
tutorial/procedureandfunction.txt · Last modified: 2019/01/06 16:54 by admin