Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2000-10

re:Help newbie!

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

In pascal, a function must return a value.
So, you´ll have to write for example:
Function GetTextColor: integer;
if you don´t want to return a value at all, you´ll have to declare it as a procedure: Procedure GetTextColor;