Forsta Reportal Support

    All the topics, resources needed for Forsta Reportal.

    • Comments

      Comments are text added in your scripts that are ignored when the script is run, but may be used to explain aspects of the code. In Reportal Scripting syntax...

    • Creating a Class

      To create a class, use the class keyword followed by a name for the object.The body of a class starts with an opening curly bracket "{" and ends with a closi...

    • Declaring a Class

      To use a class in your program, you can first declare a variable from it.A variable of a class must be explicitly allocated a memory space, big enough to con...

    • Variable Declaration

      To declare a variable you must provide a name and specify the type of information the variable will carry. JScript's built-in types include Number, String, O...

    • Data Types

      The following types of data are supported:String - A string is text that you want the compiler to consider "as is".var Welcome : String = ”Welcome to this Re...

    • Creating Functions

      In JScript, to create a function, you start with the function keyword followed by a name. To specify that this is a function and not a normal variable, the n...

    • Operators

      Semi-Colon ; - the semi-colon is used to indicate the end of an expression or a declaration.Example:var sentence : String; Curly Bracket...

    • Statements

      For loopExample:var i : int;for(i=1; i<5; i++){     Console.WriteLine("The value of i is " + i);}start loopset variable to 1if less than 5add 1 to variableot...