> On Jan 4, 2017, at 10:14 PM, Dmitry Boyarintsev <[email protected]>
> wrote:
>
> var
> i: integer;
> begin
> i:=5;
> GetSometing(i)
>
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?
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal