Main Profile

At A Glance

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

Contact

Questions about Free Pascal Program Tutorial 17 - Function Examples - Lazarus

Want more info about Free Pascal Program Tutorial 17 - Function Examples - Lazarus? Get free advice from education experts and Noodle community members.

  • Answer

Ask a New Question