Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PASCAL

pascal cheat sheett

function sum(const a: array of integer): integer;

var
  s: integer = 0;
  v: integer;
begin
  for v in a do
    s := s + v;
  sum := v;
end;
Source by ksvi.mff.cuni.cz #
 
PREVIOUS NEXT
Tagged: #pascal #cheat #sheett
ADD COMMENT
Topic
Name
6+1 =