use C# preprocessor error

Forum Home Forums Understanding the Software use C# preprocessor error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16317
    詹森
    Participant

    https://github.com/njzsky/Public/blob/main/PrepeocessorErr.png?raw=true

    I can use C# preprocessor directives normally, but they throw an error when used in Rapid SCADA. How can I solve this problem?
    As shown in the figure, thank you for your answer!

    #16322
    Mikhail
    Moderator

    Hello,
    Find and check the SCADA\ScadaServer\Log\CalcEngine.cs file. This file is used by the Server service basing on the Scripts table. You can see that a preprocessor directive brakes the C# syntax. Use constants instead of directives.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.