Jump to content

Local variables default to write


Recommended Posts

I use locals sparingly, but in my typical use case where I really just need to use a value in more than one place (lazy yes, but not worth the effort to do it any other way) I need to read from a local rather than write to it. The default condition is to write though, so I need to change my virtually every time I need to use one. 

Am I the odd one out here?

Don't suppose there is some SuperSpecialIniKeyForDefaultLocalVariableDirection?

 

 

Edited by Neil Pate
Link to comment

Yeah if you default to one you are going to upset one group of people or another.  I would guess NI's thoughts were it you wanted to read a control just use its terminal, and a developer would be more interested in writing a local variable.

If you aren't CTRL dragging yet you would be. I is a bit odd that that operation does something different than a copy paste but I like it.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.