Section: §18.4 Dynamic Loading
Current text:
@myfunc := GetProcAddress(LibHandle, 'MyFunc');
Problem:
This is invalid Pascal. You cannot assign to @X — the @ operator produces an r-value pointer, not an assignable l-value. The correct code assigns directly to the procedural variable.
Suggested fix:
MyFunc := GetProcAddress(LibHandle, 'MyFunc');
Section: §18.4 Dynamic Loading
Current text:
Problem:
This is invalid Pascal. You cannot assign to
@X— the@operator produces an r-value pointer, not an assignable l-value. The correct code assigns directly to the procedural variable.Suggested fix: