• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

State.Defaults Name Parameter

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    State.Defaults Name Parameter

    Is there any limit on the content or length of this parameter? I have found that it has issues processing underscores. I have two underscores and it displays only one of them.

    #2
    Hello,
    Thanks for your post.

    There is not a hard limit on name length to my knowledge. This is likely happening because of Microsoft's naming convention requirements that we follow. One of their rules states to not use underscores at all. That being said I have seen situations where you can get away with it, but it of course would not be supported.

    I have seen some odd behavior myself similar to what you describe, when I have used underscores in the past.

    Here is a publicly available link to the MSDN Naming Guidelines page.
    https://msdn.microsoft.com/en-us/lib...(v=vs.71).aspx

    Please let me know if you have any further questions.
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh. Yes, that must be it. It is quite annoying that underscores cannot be used but, nothing we can do about it. Thanks for the link.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by saltminer, Today, 10:14 PM
      0 responses
      4 views
      0 likes
      Last Post saltminer  
      Started by Mykro, Today, 10:03 PM
      0 responses
      4 views
      0 likes
      Last Post Mykro
      by Mykro
       
      Started by coolTrade, Today, 09:37 PM
      0 responses
      7 views
      0 likes
      Last Post coolTrade  
      Started by PatrickM, Today, 08:43 PM
      0 responses
      8 views
      0 likes
      Last Post PatrickM  
      Started by horace chow, Today, 04:00 PM
      3 responses
      18 views
      0 likes
      Last Post bltdavid  
      Working...
      X