Wowsers, JavaScript is so lame, in the 1980's, when i started as a young programmer, i cut my tooth on Cobol, C, Basic, Fortran and RPG languages, they were better formed than JavaScript, I cant believe that when declaring variables, one has to do a null test prior to use, fair enough but if one passes a variable parameter into a function,, it then needs to be tested again prior to use or one will get strange programmatic behaviour, tsk tsk indeed, sloppy beatniks who designed this
but on the other hand, once, one gets to know the peculiarities of the language, its works a treat and is so easy to use, fun indeed,
So, for all new programmers to eSignal, remember to declare and test your variables wherever they are used, don't assume that as they were declared elsewhere in the program they will work within a called function, nope, you will need to re-declare all variables used again, within the function, to make sure it all works as planned,
but on the other hand, once, one gets to know the peculiarities of the language, its works a treat and is so easy to use, fun indeed,
So, for all new programmers to eSignal, remember to declare and test your variables wherever they are used, don't assume that as they were declared elsewhere in the program they will work within a called function, nope, you will need to re-declare all variables used again, within the function, to make sure it all works as planned,
Comment