[SUGGESTION]: Add position info support in $error - 15/06/15 12:29 PM
Hello,
It would be a nice and useful tool especially for starters to add an position in $error.
Example:
This code has an scripting error into the second $gettok so when the $error trigger the error message will be like this:
* Too few parameters: $gettok (line 3:43, test.mrc)
And after this error that will trigger with error position the scripter will more easy open the script editor and directly go into the specific line-position that the error occurred.
- Thanks!
It would be a nice and useful tool especially for starters to add an position in $error.
Example:
Code:
alias test { var %test 1 if (%test) { echo -a $gettok(%a,1,32) - $gettok(%b,2) - $gettok(%c,3,32) } }
This code has an scripting error into the second $gettok so when the $error trigger the error message will be like this:
* Too few parameters: $gettok (line 3:43, test.mrc)
And after this error that will trigger with error position the scripter will more easy open the script editor and directly go into the specific line-position that the error occurred.
- Thanks!