Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compiler quirks

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

    Compiler quirks

    1) Two contradictory error messages appear for the same source line 61 (if I have 6 arguments, why does it still complain about having 7 arguments as I had before the save?); see attached screen shot. I'm reporting this now before I find a way around it.
    Repro steps: in the error line, add an extra parameter, like ",0" and compile, then remove it and compile. Source attached.

    2) The compiler didn't know what StreamReader was, so I inserted
    Code:
    using System.IO;
    but still would not recognize it; I had to close the compiler window and open it again before it would accept it; it was as if I had not saved the change, but I did press the save button two times, although Ninja normally saves it for you before compiling.

    3) As I keep working the saves I make in the code editor window are not being accepted; every time I have to close the editor and reopen it to have the compiler act on the changes. I am using Debug Mode. I tried closing Ninja and reloading it but same prob.
    Attached Files
    Last edited by Martian; 02-10-2010, 03:03 PM.

    #2
    Martian,

    That is odd. In my compiler I only see one error from your code. Perhaps try restarting NT.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Josh, I have edited the previous posting with repro steps and some additional details. Thanks.

      Comment


        #4
        Martian,

        Please uncheck Debug Mode. That should not be used unless it is currently being used in conjunction with Visual Studio.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Josh,
          that may well get around the problem. I use debug mode as I often trace my code with VisualStudio and I never experienced this problem in V6, so I thought you may want to enter this low priority bug into your bugs system.

          Comment


            #6
            Thanks Martian.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            628 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            361 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
            564 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            568 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X