Thread Ausgabe in Tk-GUI (13 answers)
Opened by projectx at 2011-02-21 21:56

payx
 2011-02-22 22:33
#145896 #145896
User since
2006-05-04
564 Artikel
BenutzerIn

user image
Hallo projectx,

quick and dirty:
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
sub rechnen {
    chomp (my ($c1, $c2) = ($eingabe->Contents, $eingabe2->Contents));
    my $output;
    while ($c1<=$c2) {
        my $f = (($c1 * 9)  /5 ) +32;
        my $k = $c1 + 273.15;
        $output .= "$c1\t$f\t$k\n";
        $c1+=10;
    }
    $ausgabe->Contents($output);
}

HTH
Grüße
payx

View full thread Ausgabe in Tk-GUI