[fpc-pascal] Help translating C++ to Object Pascal

David W Noon david.w.noon at ntlworld.com
Tue Sep 14 17:23:39 CEST 2010


On Tue, 14 Sep 2010 11:50:31 +0200, Graeme Geldenhuys wrote about
[fpc-pascal] Help translating C++ to Object Pascal:

> In a C++ method as shown below, does the '... return True;'
> immediately exit the HandleClientMessage method, or will it still
> continue processing the remainder of the method (just exiting the
> current code block)?

It will return directly to the calling routine.  The following
statement:

>   return OXCompositeFrame::HandleClientMessage(event);

will be ignored.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
david.w.noon at ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.freepascal.org/lists/fpc-pascal/attachments/20100914/b4eb1b18/signature.pgp


More information about the fpc-pascal mailing list