impossible because RTTI has no default parameter information. default parameter values ββare used only at compile time
therefore, if we have ... procedure test(x : integer = 3)
and then the call method without the parameter value: test()
, then it will be compiled as test(3)
to check this, you can open the CPU window in the debugger: and test()
looks like
mov eax, $00000003 call test
teran source share