Variables

Definition

A Variable is a reference to the data value that can vary while user is running the application.

Variable always check actual memory location in which data is stored. Every varible has a datatype which describes the type of data that can be stored and each of them having value, this is stored actually in the memory address.

Mainly 3 types of variables are there

  1. Global Variables
  2. Local Variables
  3. System Defined Variables

Global Variables:-If a variable can be accesse anywhere in an object, its said to have 'Global' scope.

Local Variables:-If the accessibility is limitted to a single trigger in an object, that type of variable is called 'Local' variable.

System Defined Variables:- A variable that is maintained automatically by the system. Examples- Rec in Table object, CurrReport in Report object

Related Posts with Thumbnails