AngelScript

void main()
{
    //Variablendeklarationen, -initialisationen und -operationen wie in C++
    int a = 5;
    ++a;
    int b = a + 3;

    if(b == 9)
    {
        /* wurde die Funktion print(string) vorher im C++-Quelltext registriert,
         * so wird sie jetzt aus AS heraus aufgerufen
         */
        print("Hello world\n");
    }
}
Diese Webseite wurde kostenlos mit Homepage-Baukasten.de erstellt. Willst du auch eine eigene Webseite?
Gratis anmelden