javascript - JScript Arguments Collection - .Net Equivalent -


While writing code in JScript, as I am used to because I am never a fan of asp.net and jscript Was infinitely more elegant than VBScript, you can call the logic archive. This error is very useful for passing in handlers because you can then send output messages to the development teams, which tells them what the position of the app was at the time of error, according to the procedure below which was wrong. Because it is internal, there is no need to mess about it, just pass it as an argument for your central exception handler.

My question is: Is there something special in the net, especially VB? Shonky application which we are continuously improving (there was no error in talking about most of them), but one thing that is very disturbing to me is that there is no description of the error logic functions, And it may be more than information, it is important for error.

All cheers

Here are two questions: First of all, How do you pass an argument collection in sub-answer is you do not. VB is a strongly typed language and JScript does not have a collection of debates. However, you can complete the same effect by using an array as the parameter.

If you have such a function:

  function sum (by paragraph para paragraph numbers as integer)) in the form of integer sum = as each of the integers i In the form yoga in nums + i = next end function  

then you can call it like this:

  dim integer = sum Total (4, 3, 2, 1)  

Your second question is about setting up a good error handling system. Goes out, baked properly in using exceptions. Check out.


Comments