Today was my first attempt to actually use these, but that ended once I placed a Breakpoint on one.
Perhaps not news to others..
program Project1;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils;
{$INLINE OFF}
function NewBytes:TBytes;
begin
SetLength(Result, 10);
end;
begin
try
/// <summary>
/// F9 from the Breakpoint will repeat 3 times, once for each Inline Variable
/// Uncomment the others to prove my point
/// </summary>
/// <remarks>
/// You can also try F7 or F8
/// </remarks>
var Eins := NewBytes; // << Breakpoint
var Zwei := NewBytes;
var Drei := NewBytes;
// var NochEins := NewBytes;
// var NochZwei := NewBytes;
// var NochDrei := NewBytes;
writeln('Something Happened!');
except
on E: Exception do
Writeln(E.ClassName, ': ', E.Message);
end;
end.