Hello World

Bei Interone schreibt man „Hello World“ typischer in Java:

class HelloWorld {
  static public void main( String args[] ) {
    System.out.println( "Hello World!" );
  }
}

Alternativ auch in PHP:

<?php
  // Hello World in PHP
  echo 'Hello World!';
?>


Oder in C#:

using System;

class HelloWorld
{
  public static int Main(String[] args)
  {
    Console.WriteLine("Hello, World!");
    return 0;
  }
}


Oder in ActionScript 3.0 (Flash 9)

package {
  
  import flash.display.MovieClip;
  import flash.text.TextField;
  import flash.text.TextFieldAutoSize;

  public class HelloWorld {

    private var helloWorldField:TextField;

    public function HelloWorld( mc:MovieClip ) {

      helloWorldField = new TextField();
      helloWorldField.height = 100; // width nicht nötig, weil autoSize
      helloWorldField.autoSize = TextFieldAutoSize.LEFT;
      helloWorldField.htmlText = '<font size="20" color="#0000FF">Hello World!</font>';

      mc.addChild(helloWorldField);
    }
  }
}

// on a frame
import HelloWorld;
var hw:HelloWorld = new HelloWorld( this );


Wenn du noch mehr Varianten kennenlernen willst - praktisch alle denkbaren findest du hier: