#include <acknex.h>
#include <default.c>
#include <strio.c>
STRING* wort;
wort = "xx";
// var woerter;
// STRING* thisword;
// thisword = "xxxxxx";
STRING* zahl;
var anzahl;
anzahl = 0 ;
function main ()
{
// STRING* wort;
// wort = "xx";
STRING* thisword;
thisword = "xxxxxx";
var woerter;
STRING* ups;
// START - Textdatei laden - Inhalt zum Lernprogramm
//var zahl;
woerter = file_open_read("test2.txt");
// printf(woerter);
// ENDE - Textdatei laden - Inhalt zum Lernprogramm
//file_str_readtow(woerter, thisword);
file_str_readtow(woerter , thisword , "" , 5000);
printf(thisword);
anzahl = str_stri ( thisword , "," );
printf(anzahl);
wort = thisword;
STRING* worte;
worte = str_cut (NULL , wort , "g" , anzahl );
printf(wort);
printf(zahl);
str_clip(thisword , anzahl + 1 );
printf(thisword);
// thisword = " - ";
// file_str_readtow(woerter , thisword , "." , 20);
// printf(thisword);
// thisword = " - ";
// file_str_readtow(woerter , thisword , "." , 20);
// printf(thisword);
// thisword = " - ";
// file_str_readtow(woerter , thisword , "." , 20);
wort = thisword;
printf(thisword);
// file_chr_read(woerter, thisword);
// printf(thisword);
file_close(woerter);
}