Plezuro/let's code a little bit

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Now you should try to code something in Plezuro.

// a variable initialization
$x = 12.3;
// an incrementation
// a conditional expression
    'x'.dumpl; // dumping a variable to console, very useful when debugging
    x *= 3

//a loop, printing to console
'\na loop'.printl;
    x *= 2