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 CarlTrading, 03-31-2026, 09:41 PM
            1 response
            73 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            40 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            63 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            63 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            53 views
            0 likes
            Last Post CarlTrading  
            Working...
            X