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 jclose, Today, 09:37 PM
      0 responses
      5 views
      0 likes
      Last Post jclose
      by jclose
       
      Started by WeyldFalcon, 08-07-2020, 06:13 AM
      10 responses
      1,413 views
      0 likes
      Last Post Traderontheroad  
      Started by firefoxforum12, Today, 08:53 PM
      0 responses
      11 views
      0 likes
      Last Post firefoxforum12  
      Started by stafe, Today, 08:34 PM
      0 responses
      11 views
      0 likes
      Last Post stafe
      by stafe
       
      Started by sastrades, 01-31-2024, 10:19 PM
      11 responses
      169 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Working...
      X