Basics

This chapter describes basic syntax of AbleScript

print keyword prints preceding expression on stdout.

/*check out other able products*/ print;

In cases you don't want to end with new line, you can suffix print with -:

/*Enter your name: */ print-;

Comments

Comments in AbleScript starts with owo and spans to end of the line

/*hello*/ print; owo This will print "hello"

Operators

  • Common: +, -, *, /, ain't
  • Comparsion: <, =, ain't >
  • Expressions can be enclosed in parantheses