Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

function return values

0 views
Skip to first unread message

uta

unread,
Feb 26, 2003, 1:06:41 AM2/26/03
to
What's the syntax for returning a value from a function? I cannot find this
in the help file. I'd like to know where this is in the help file. The way
I'm doing it now works, but looks dumb to me. For example, a function called
X with a boolean return value -- my way of returning the value is X:=true;

What's the better way? I thought maybe something like 'return true' but that
doesn't work


David Sterling

unread,
Mar 14, 2003, 1:51:06 AM3/14/03
to
function X: boolean;
begin
result:=true;
end;

"uta" <in...@atemp.com> wrote in message
news:RPY6a.2089$M85.2...@newsread2.prod.itd.earthlink.net...

0 new messages