Sign Up

Variable Scopes

Global Variables: Accessible from any part of the workspace, including Endpoints and Events.

Class Variables: Accessible from any function within the class they belong to, only available in Normal Mode.

Test Variables: Accessible from any function within the class they belong to, only available in Test Mode.

Statement Variables: Limited to access within the function in which they are created.

Related Topics

Validation Errors

Validation errors are similar to class errors but are performed at a lower level than the class. Any validation errors that arise will be displayed in the problems section of the bottom workspace bar. Clicking on the validation error will highlight the specific area where the problem occurs. If any ...

Statements

In a function, various types of statements can be created to perform specific actions and control the flow of execution: Create Variable: Generates a new variable, which can be initialized from scratch, reference an existing variable or parameter, the result of a function, retrieve data from the dat...

What is a Class?

A class in the API serves as a structured entity that holds both variables and functions. These functions are used in both endpoints and events to define specific functionalities. Variable A variable within the API is represented by a symbolic name or identifier, acting as a storage location in the ...

Import Classes

In the current class, you have the option to import your own classes and utilize functions that were created earlier. This helps minimize the requirement for duplicate classes. Once a class is imported, you can access all of its functions by using the "Run function" statement.

Variables

A variable encompasses various data types, including: Text: A string of characters Number: Ranging between -2147483648 and 2147483647 Boolean: Representing true or false Currency: Similar to Number but specific to prices Email: Similar to Text but designed for email addresses Date: A representation ...