Do you get your skills at Kixtart from being a Rocket Scientist! You seem to know so much.

It probably is because I don't do coding for a living - my main job - I almost never do coding. I only use it for Kixtart, but I am still amazed how after nearly 20 years of using Kixtart, I am still learning things! But then again, all my "coding skills" has been self taught - never did a formal course.

I will review your points on parenthesis, however I will balance that with making the script as readable as possible. For example it is not strictly necessary to do this:

 Code:
If abc = 5
     Indent this line of code
Else
     Indent this line of code
Endif


but so much easier to read than this when you have lots of code between the IF/Else/Endif statements or when you have multiple if/else statements within other If/Else statements:

 Code:
If abc = 5
No Indent this line of code
Else
No Indent this line of code
Endif


I probably could remove the "registry value added" output as that was put in years ago when I was configuring dozens of registry entries and it helped to ensure that all registry values were actually being set. Didn't think to use it this time as I assumed the problem was Kixtart not being able to declare a null data value! Ironic. I like the idea of your debugging code.

When I have time, I will tweak my coding accordingly.