IDL wish list: inherited positional parameters
posted Tue 5 Jan 2016 by Michael Galloy under Feature request, IDLIDL has had keyword inheritance for a long time. The special keywords _EXTRA
, _REF_EXTRA
, and _STRICT_EXTRA
are used to have a wrapper routine pass its keywords to some routine that it calls. It would be convenient to have corresponding inherited positional parameters, perhaps using the analogous specially named parameter _extra
:
pro mg_print, _extra, _extra=e
compile_opt strictarr
print, _extra, _extra=e
end
This routine would accept any number of positional parameters/keywords and pass those that PRINT
accepts along to it.