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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      81 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      46 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      66 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X