Eas (Easy Application Script) by Molaskes

Syntax Guide:33. The Program Main Body

declare at the top level start: ^!$‌ end: ^/$
‌ The program main body is written at the unindented top level, starting with an exclamation mark‌ and ending with a slash:
!
  ...
/
‌ It's like an event handler without a name. C:
#include <stdio.h>
int main(void){
  fputs("Hello World!");
}
‌ C++:
#include <iostream>
int main(){
  std::cout << "Hello World!";
}
‌ Pascal:
Program HW1;
Begin
  Write("Hello World!");
End;
‌ JavaScript:
document.onload=function(){
  document.write("Hello World!")
}
‌ Eas:
!
  SAY:"Hello World!"
/
Preceding Page:
Event Handlers
Next Page:
Beyond Syntax
D Download Eas 4B
C Contact
Esc Search / Table of Contents