Thread Ausgabe in Tk-GUI
(13 answers)
Opened by projectx at 2011-02-21 21:56
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 |