[fpc-pascal] Untyped var params
ryan at thealchemistguild.com
Wed Jan 4 16:24:57 CET 2017
> On Jan 4, 2017, at 10:14 PM, Dmitry Boyarintsev <skalogryz.lists at gmail.com> wrote:
> i: integer;
But how do you assign to “something" then if you don’t know the type? The param is “var” so shouldn’t I be able to assign to the param and return it back to the caller? In your example how could I return 5 to “i” inside GetSomething?
More information about the fpc-pascal