Alana Alana CSAlana
Home Docs Downloads
Start
  • Introduction
  • Install & run
  • Command line
  • How it runs
Language
  • Types
  • Variables
  • Functions
  • Input & output
  • Type parsing
Operators
  • Arithmetic
  • Comparisons
  • Boolean logic
Control flow
  • If / elseif / else
  • Loops
  • try / catch / throw
Data
  • Arrays
Object oriented
  • Imports & visibility
  • Classes
  • Inheritance
  • import
  • public
  • private
  • class
  • constructor
  • self
  • extends
  • parent
  • override
  • abstract
Standard library
  • Overview
  • HTTP
  • JSON
  • Error
  • including
  • HTTP, JSON & errors
Keywords
  • define
  • redefine
  • is
  • new
  • newobj
  • show
  • showln
  • readln
  • readk
  • func
  • end
  • call
  • return
  • returning
  • ;
Parsing
  • parsestr
  • parsenum
  • parsedecimal
  • parseschar
  • parseboolean
  • tryparsenum
  • tryparsedecimal
  • tryparseschar
  • tryparseboolean
Operators ref
  • +
  • -
  • times
  • divide
  • mod
  • sameas
  • greaterthan
  • lessthan
  • leorsame
  • grorsame
  • not
  • or
  • and
  • isa
Flow ref
  • if
  • elseif
  • else
  • while
  • for
  • forevery
  • within
  • continue
  • break
  • try
  • catch
  • finally
  • throw
Arrays ref
  • length
  • push
  • pop
  • with
Examples
  • All examples
  • Arithmetic
  • All types
  • Parse & read
  • TryParse
  • Loops
  • If / elseif / else
  • Comparisons
  • Functions
  • Arrays & scopes
  • Imports & fields
  • Classes & self
  • Basic inheritance
  • parent
  • override
  • abstract
  • Kitchen sink
Project
  • Roadmap

Variables

is

Assignment operator used with define and redefine.

Syntax

define <type> <name> is <value>;

How she behaves

  • is is not a comparison. Use sameas to compare equality.
  • It appears in define, redefine, and the initializer of a for / forevery binding.

Example

define boolean active is true;

See also

define Reference redefine Reference sameas Reference
Previous redefine Next new

Alana · CSAlana

contact@csalana.com
Docs License Privacy Legal Terms

© 2026 Daegatoya - All rights reserved.