I am converting a large piece of parsing code from vb that uses calls to a msg routine with a variable number of parameters. I would not have done it that way myself but I am stuck with it. Is there any way to do this? i.e. a variable number of calling parameters?
Thanks
Private Sub getMsg(Id, Optional p1 = 0, Optional p2 = 0, Optional p3 = 0, Optional p4 = 0)
Thanks
Private Sub getMsg(Id, Optional p1 = 0, Optional p2 = 0, Optional p3 = 0, Optional p4 = 0)