CS1002

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

CS1002

Return to chapter overview

The following CS1002 error code information is provided within the context of NinjaScript. The examples provided are only a subset of potential problems that this error code may reflect. In any case, the examples below provide a reference of coding flaw possibilities.

 

Error Code Explanation

This error can be invoked when statements are not ended properly.

 

All statement lines must be closed with a semicolon.

 

Error Description #1
; expected

 

// Erroneous Sample Code - Statement is not closed

double myValue = SMA(20)[0]

 

// Resolution Sample Code - Statement is closed

double myValue = SMA(20)[0];