WebHare community

Get arguments from called function

Is there a function in HareScript to get the arguments from the function/macro, akin to console.log(arguments)?

1 Like

AFAIK not without ‘catching’ them like this:

MACRO MyMacroWithArguments(VARIANT ARRAY ...args)
{
  DumpValue(args);
}

Thanks, that will do.