Then I clicked on the icon Compile and got the error message "Error on generating Strategy" and the following error report appeared below :
-----
Description File Line Column
Expected class, delegate, enum, interface, or struct Strategy\UserDefinedMethods.cs 22 20
Identifier expected Strategy\UserDefinedMethods.cs 25 16
Identifier expected Strategy\UserDefinedMethods.cs 25 28
Identifier expected Strategy\UserDefinedMethods.cs 29 16
Identifier expected Strategy\UserDefinedMethods.cs 29 37
Type or namespace definition, or end-of-file expected Strategy\UserDefinedMethods.cs 31 1
The namespace '<global namespace>' already contains a definition for '?' Strategy\UserDefinedMethods.cs 25 27
The namespace '<global namespace>' already contains a definition for '?' Strategy\UserDefinedMethods.cs 29 15
The namespace '<global namespace>' already contains a definition for '?' Strategy\UserDefinedMethods.cs 29 36
-----
Could any helpful NT user provide me with a NinjaScript that I just would have to type in and which, instead of "Hello world" would do {if (ADX(14)[0] > 30 Playsound(Connected.wav")} ?
Gérard.
Comment