Skip to content

Assigning values

José Manuel Nieto edited this page Nov 14, 2021 · 1 revision

There are 4 types of data types in Iridio:

  • int

    a = 123;
    
  • double a double value always ends in d or D.

    a = 3.14d;
    b = 40d;
    c = 40D;
    
  • string

    a = "¡Saludos!";
    
  • boolean

    a = true;
    b = a || false;
    

Iridio is a dynamic typed language. In this case, it means that the type of a variable will change according to the value it holds.

a = "hola";
a = 123;

This is perfectly doable in Iridio.

Clone this wiki locally