Wafl Home

Primitive Data Types Tutorial

Logical Operators

Usual logical operators are supported in both C-like and SQL-like syntax: conjunction (&&, and), disjunction (||, or) and negation (!, not),

Source code:

{#
true or false,
true || false,
true and false,
true && false,
not true,
!true
#}

Result:

{# true, true, false, false, false, false #}

 

Table of Contents

Let's Start

Program Structure

Primitive Data Types

List

Tuple

Record

HTML

Command Line Interpreter

Using Web Servers

Syntax

Examples

Tips

The most of examples evaluates with both command line and Web server Wafl interpreters. If any example is based on specific features of an interpreter, it is explicitly annotated.