Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Extremely minor bug...

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

    Extremely minor bug...

    You can currently name a Strategy with a name that starts with an underscore (_MyStrat). That should not be the case. Ninja checks for "@", ".", etc, but not "_".

    Its a CLS thing and I didn't even know what that was until this week.

    Extremely minor but probably important in the long run.

    #2
    Thanks for reporting MXASJ - so you were changing the strategy name then later to a one using an underscore prefix? I tried setting some up in the wizard and it would refuse those characters here as part of the strategy name.

    Comment


      #3
      Correct, Bertrand. Right click in the editor window and Save As...

      Comment


        #4
        Thanks, it works fine for us here - which issues are you seeing with a strategy named in this manner?

        Comment


          #5
          There are no issues. I can create lots of Strategies that start with a _. But one shouldn't be able to as far as I know.

          Learn how you can develop in one of many supported languages in .NET, such as C#, C++/CLI, F#, IronPython, VB, Visual COBOL, and PowerShell.


          "Element names starting with an underscore (_) are not part of the Common Language Specification (CLS), so CLS-compliant code cannot use a component that defines such names. However, an underscore in any other position in an element name is CLS-compliant."

          Again a very, very minor thing but something I wanted to bring to you attention.

          Comment


            #6
            Thanks for pointing this out MXASJ, I'm not aware of any issues regarding this naming so far but will keep an eye out and clarify with development if this is something we should look into.

            Thank for the sharp eye.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            605 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            351 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            560 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            561 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X