; This is a comment
! and this also

start main

globalstring: string { "I'm really happy" }


main:      ; this labels the menu


  menu      ; this is a reserved word
       (1+3*2,(1+3)*2,80/4,25/2) ; this is the geometrie of the menu
                 {
   image { "Dies ist ein string"
            "xxx"'"'"xx\\n\nxxxx\n"
            "zzzzz" }
;Ausgabe:
;           Dies ist ein stringxxx"xx\n
;           xxxxxx
   action {
     show ( submenu )
     waitkey ( "yYjJ" )
   }
  }

#include "test.inc"

submenu:
menu (1,2,3,0x100) {
  image{
    "Dies ist ein string"
    "x2222xxxx\nxxxx"
  }
  action {
    printxy (0,0,"dieser string")
    printxy (0,2,globalstring)
    set xyz = ((2 +(3*(2))))
  }
}

subm2: menu (0) { 
image globalstring }

berta:        string {"2"}
second_pass:  string {'set anton = 0x30 >> 4'}

