### Free Pascal Program Tutorial 17 - Function Examples - Lazarus

http://www.schoolfreeware.comFunctions are just like procedures, with one main exception. The exception is that functions return a value. The name of the function becomes the value that the function is returning. For example, the name of the function is squared and squared becomes the value (x * x).function squared(var x:integer):integer;begin? squared := x * x;end;

Length:
04:57