Skip to content
This repository was archived by the owner on Apr 6, 2024. It is now read-only.

v2.4.0

Choose a tag to compare

@418e 418e released this 13 Jan 06:52
· 17 commits to main since this release
de1ac1f
  • added short functions
fn main(x) : x + 1;
print main(6);

// 7
  • added sleep native: sleep(time):
sleep(2000);

// will create delay for 2s
  • added ternary native: ternary(statement, value1, value2)::
let i = 0;
let x = ternary(i > 1, 4, 5);
print x;

// 5
// if statement is true, return value1, if not: value2
  • added cmd native: cmd("command"):
let x = cmd("echo hi");
print x;

// "hi"
  • removed cmd functions