
Because the code red bugs, there are dozens of standard can't debugging, consult everybody a great god, and can write, or is there a better way? [customs declaration data] is a custom data structure, by another function to the assignment,
CodePudding user response:
No separate written function because the basic each function is only used once, don't want to write a lot in the main function of the if else, it looks very clear,CodePudding user response:
Customs data as the parameters of the functionCodePudding user response:
Have direct messages to youCodePudding user response:
So write no problem, can also use the IIF, but no anonymous function is clear,CodePudding user response: