RAD Studio (Common)
ContentsIndex
PreviousUpNext
E2449: Inlined nested routine '%s' cannot access outer scope variable '%s' (Delphi)

You can use the inline directive with nested procedures and functions. However, a nested procedure or function that refers to a variable that is local to the outer procedure is not eligible for inlining.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!