Standard procedures and functions in Pascal

Now almost every major IT company is able to develop its own programming language, which will write its own solutions and products. In fact, many students in specialized universities are able to do the same. But old or, it is better to say, previous solutions in programming do not lose their relevance either.

, , Pascal ( - ). , – Java, C++ – . , ( ), . , , , .

Delphi

, . , - . ? , . , Object , , .

procedures and functions in pascal




, . , .





, Total Commander – Windows Android, , .

Skype Windows, Photoshop .

(Delphi) : FL Studio, Guitar Pro, , Space Empire 4 .

pascal procedures and task functions




, . : .

: . .

program, , . , - , .

( ). «const», – (, n=5 ..) .









«var». . , Integer Real. .

. .

«begin».

.

«end.».

«program» «const» «label» , «const» «type» .

, , . ( ).

pascal strings procedures and functions




, . . «program» «procedure».

, . , , . – .

. «procedure» «function», .

, .

pascal functions and procedures examples




.

. , , , , .

, . , - .

. , ( ). , .

standard functions and procedures in pascal




: () . , «var» «begin».

:

Procedure summa(a, b: integer; var c: integer);

Begin

c:= a + b;

end;

:

Function summa(a, b: integer): integer;

Begin

summa:= a + b;

end;

, , .

:

Integer : . – Real. .

. . , , , .

. , , . , . - , .

, ? ? , . ( ).




All Articles