
August 16th, 2006, 05:06 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Posts: 2
Time spent in forums: 43 m 4 sec
Reputation Power: 0
|
|
|
Hi Nilpo,
The reason is because the RegWrite and RegDelete routines are Sub routines and are not returning a value.
The RegRead routine is a Function and does return a value.
Vbscript syntax requires that a function always is followed by parenthesis even if no value is passed into the function.
I think this dates to the original coding syntax defined for vbscript.
|