Meta Project

The Unofficial Meta Documentation

LOGIC!

Summary

LOGIC! is the datatype that in other programming languages often is known as Boolean.

Category

DATATYPE

Usage

N.A.

Arguments

variable - the variable name that will be used as LOGIC! value

Refinements

Not applicable on category

Description

A LOGIC! is a variable that can hold values TRUE, FALSE or NONE. To set a LOGIC! to TRUE, one can use TRUE, ON or YES. To set the value to FALSE, you have the options FALSE, OFF or NO.

Example Code

This declares a variable LIGHTS to be a LOGIC! and set its value to TRUE

LOGIC! lights: ON

Related

TRUE  
FALSE  

Back to the Meta Datatypes Reference index