2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-25 22:38:04 +02:00
This commit is contained in:
Martin Thoma 2014-03-09 16:38:27 +01:00
parent 2a58ef985d
commit 25732f4421
8 changed files with 91 additions and 32 deletions

View file

@ -0,0 +1,15 @@
import x10.io.Console;
class HelloWholeWorld {
public static def main(args:Rail[String]):void {
if (args.size < 1) {
Console.OUT.println("Usage: HelloWholeWorld message");
return;
}
finish for (p in Place.places()) {
at (p) async Console.OUT.println(here+" says hello and "+args(0));
}
Console.OUT.println("Goodbye");
}
}

View file

@ -0,0 +1,6 @@
// file HelloWorld.x10
public class HelloWorld {
public static def main(args: Array[String](1)){
x10.io.Console.OUT.println("Hello, World");
}
}