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

How and When to use Inline Functions

10 views
Skip to first unread message

me

unread,
Jun 3, 2002, 3:01:10 PM6/3/02
to
I have been reading up on inline functions.
I have some small functions and am trying to understand the use of
inline.

How do I declare this and how do I decide when it is best to use it?

Thanks

-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
http://www.newsfeed.com The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----

Mattias Sjögren

unread,
Jun 3, 2002, 4:58:00 PM6/3/02
to
>How do I declare this and how do I decide when it is best to use it?

There's no such thing in VB.NET. Which language are you using? You're
probably in the wrong group.


Mattias

===
Mattias Sjögren (VB MVP)
mattias @ mvps.org
http://www.msjogren.net/dotnet/

Imtiaz Syed MS

unread,
Jun 3, 2002, 8:25:02 PM6/3/02
to
VB.NET does not support this.

Inline function is more efficient because the compiler replaces the
function call with the code od the function, you will save time for the
stack activation record being created. If you have small functions, which
gets called frequently, using it as an inline function is justified.

thanks

0 new messages