when an argument is hardcoded as null in a task declaration ,what does it mean
can’t we change the value of that argument in the definition
e.g.,
extern function new(string name = "Scoreboard", pkt_mbox driver_mbox = null, receiver_mbox = null);
when an argument is hardcoded as null in a task declaration ,what does it mean
can’t we change the value of that argument in the definition
e.g.,
extern function new(string name = "Scoreboard", pkt_mbox driver_mbox = null, receiver_mbox = null);
In reply to yethishwar:
They are default values that allow you to omit the argument when calling the task/function. See section 13.5.3 Default argument values in the 1800-2017 LRM.