variable attribute question

Mark Histed's Avatar

Mark Histed

23 Jul, 2012 02:15 PM

Breaking this out to a different thread to keep organized on tender:

Is the variable attribute full_name used for anything or just ignored? In particular I have historically used it on the variables that are bound to IODevice variables (i.e. the prototypical "juice") - is it needed here?

Thank you
Mark

  1. Support Staff 1 Posted by Christopher Sta... on 23 Jul, 2012 03:51 PM

    Christopher Stawarz's Avatar

    Hi Mark,

    Is the variable attribute full_name used for anything or just ignored?

    Same story as "editable": Its value is parsed and stored but never used. I don't know what its original purpose was, assuming it ever had one. While there's no harm in including it in current experiments, there isn't any benefit, either.

    Chris

  2. 2 Posted by Mark Histed on 24 Jul, 2012 05:54 PM

    Mark Histed's Avatar

    Thanks for the explanation of these two attributes.

    One suggestion: perhaps you can make MWorks warn when these attributes are found so that they're not confused with attributes that are used? Having the parser check this would help me.

    Thanks for all the recent work. Mark

  3. Support Staff 3 Posted by Christopher Sta... on 25 Jul, 2012 02:38 PM

    Christopher Stawarz's Avatar

    One suggestion: perhaps you can make MWorks warn when these attributes are found so that they're not confused with attributes that are used? Having the parser check this would help me.

    This is probably a good idea, although it could be very annoying to folks who have existing experiments with many instances of the attributes. Maybe we should add a mechanism for components to mark attributes as deprecated, and then have a global switch to control whether MWorks issues warnings when deprecated attributes are used. I'll open a ticket.

    Chris

  4. 4 Posted by Mark Histed on 25 Jul, 2012 02:44 PM

    Mark Histed's Avatar

    I think that proposed solution is great.
    Mark

  5. Christopher Stawarz closed this discussion on 25 Jul, 2012 02:48 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac