Beispiel #1
0
func init() {
	//
	//  var x World = New(); if x == nil {} // ok
	if !scr.Switchable(scr.WVGApp) {
		errh.Error("Bildschirmauflösung kleiner als 1024 x 576", 0)
		ker.Terminate()
		os.Exit(0)
	} else {
		scr.Switch(scr.WVGApp)
	}
	help[0] = "Hilfe ist noch nicht implementiert" // TODO
	files.Cd0()
}
Beispiel #2
0
func init() {
	//
	var _ Word = New()
	files.Cd0()
	bx.Wd(length)
	file = pseq.New(actual.text)
	file.Name("Suchwort.dat")
	if file.Empty() {
		actual.Clr()
		file.Put(actual.text)
	} else {
		actual.text = file.Get().(string)
	}
}