Sign in to follow this  
Followers 0
MvGulik

[solved] RegWrite(), optional parameters. (-)

6 posts in this topic

#1 ·  Posted (edited)

RegWrite(), optional parameters. (?)

Syntax: RegWrite ( "keyname" [,"valuename" [, "type" [, value]]] )

Considering there optional (no terminal error if left out), should't they not also do something useful?

Following 2 case's are more or less NOP case's. (always 0/error.)

RegWrite ( "keyname" ,"valuename" )

RegWrite ( "keyname" ,"valuename" , "type")

Or from a practical (useful) use the syntax resolves to

RegWrite ( "keyname" [,"valuename" , "type" , value] )

Edited by iEvKI3gv9Wrkd41u

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Not a (complicated enough) AutoIt related matter I take it! (or to complicated ... Na, that would be just to silly.)

I also take it using the tracker is the better way to get some closure.

- Funny, as I though it was intended to work the other way around.

- Never mind any potential additional information that might clear up this case, and potential similar other cases.

- At least it will be kinda officially resolved that way.

lol

---

Lets strike that last one. Easier to just draw a conclusion and drop that it in a box. Costing less energy, and no need to think about it anymore.

Edited by iEvKI3gv9Wrkd41u

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

:)

He's saying that optionality of some parameters is more something else than optional.


♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

:)

He's saying that optionality of some parameters is more something else than optional.

Something like that ... I guess.

@LaCastiglione:

The Syntax rule of RegWrite() is technically correct. But from a practical usefulness point of view its misleading/ambiguous.

As the two case I highlighted are useless as they always fail.

... Reminds me of a "Technical correct" Microsoft joke ...

---

They're not as optional as it seems?

Yep. Edited by iEvKI3gv9Wrkd41u

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0