What I wanted to say that after your hint about the quotes in the THIRD line, the question was not necessary any more, because due to your "quotes" I understood what's going on with Galapo's suggestion.
But there still remains some unanswered questions and comments.
.
Maybe this can end tests and discussion:
There was never a discussion (and I wrote many times that before). After I get my first reply from my bug report I already knew what will your decision will be whatever anybody writes. I only shared my ideas of concerns for future (which
none of them ever replied honestly even with previous post, only keeping jokes (or methods of posting) but nothing written decently as an answer.). Besides the honest responses to this topic shows that our advanced scripts authors (not me) also have confusions because of wb behaviours. (trustability). I believe the answers of the questions in the end will clear everybodies mind.
Only discussion was created by you ironicly by claiming this never worked with WB 072, WB 074, WB 076 and WB 077RC2 but now, at last you understand it was working with WB 072, WB 074, WB 076 and WB 077RC2. End of discussion, now time to go further.
As written many times by me before, I do not say you "must" do the things with the "known" methods by any scripting adviced by anybody, I only write I believe this (as written by galapo's examples) is the logical way for a script writer to write things for registry with set (variables). Yes scriptwriters must not trust their bad habits of other codings.
I already updated the 3 scripts ~4 days ago after your findings (already knowing what will happen next) and asked you the 2nd question written below.
What I am looking for is the answers of following questions:2 ) WHAT will be written on log for the wrong entries to warn user when something wrong with these kind of usages going on ????? so many can fix scripts when this happens.
3 ) With Galapo's examples, how to use regwrite with using variables by set and following galapo's example you can also answer question
1 2.
I believe clear answers of these questions will clear all scriptwriters (and none delphi coders) mind.