Thread Vokabeltrainer (17 answers)
Opened by Futureflo at 2011-03-06 23:06

renee
 2011-03-07 10:19
#146270 #146270
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Statt
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
while ($durchgaenge<($#loesung_array+1))
{

$zahl=0+rand(3);

print"Translate the word $vokabeln_array[$zahl]\n";
$eingabe = <STDIN>;    chomp $eingabe;
...

print SCHREIB $eingabe;


Machst Du
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
my @alle_versuche;
while ($durchgaenge<($#loesung_array+1))
{

$zahl=0+rand(3);


print"Translate the word $vokabeln_array[$zahl]\n";
$eingabe = <STDIN>;    chomp $eingabe;
push @alle_versuche, $eingabe;
...

print SCHREIB join "\n", @alle_versuche;
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Vokabeltrainer