Skip to content

Statements

Muhammad Hammad edited this page Aug 1, 2017 · 2 revisions

Control Flow Statements

The dvare framework contains IF THEN ELSE control flow statements and following is the table describe details about operand of these statements.

Sr.No Name Syntax Following Operand
1 IF if Boolean Expression
2 THEN then Body Expression
3 ELSE THEN Control Flow Expression, Body Expression
4 endif ENDIF

Def Statement

The dvare framework has a different syntax for declaring a new variable. Following is the syntax to define a variable using the def keyword -

def [Variable Name]:[DataType] := [Value Expression]

Let Statement

Let statement also use declaring a new variable but let create a temporary variable which removed after the variable scope. Following is the syntax to define a variable using the let keyword -

let [Variable Name]:[DataType]

Clone this wiki locally