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

Arrays

push

Append a value at the end of an array.

Syntax

push <array> with <value>;

How she behaves

  • Always paired with with.

Example

push numbers with 40;

See also

with Reference pop Reference
Previous length Next pop

Alana · CSAlana

contact@csalana.com
Docs License Privacy Legal Terms

© 2026 Daegatoya - All rights reserved.