Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PASCAL

pascal cheat sheett

procedure increment(var x: integer; by: integer);

  begin
    x := x + by;
  end;
…
var
  n: integer = 4;
begin
  increment(n, 2);   // now n is 6
Source by ksvi.mff.cuni.cz #
 
PREVIOUS NEXT
Tagged: #pascal #cheat #sheett
ADD COMMENT
Topic
Name
5+4 =