Leser: 1
6 Einträge, 1 Seite |
Quotemalformed bucket chain in Tcl_DeleteHashEntry
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
#!/usr/bin/perl use strict; use warnings; use Tk; use Tk::HList; use Tk::Dialog; my %Var = ( ); my %Ptk = ( ); tk_main(); MainLoop(); exit 0; sub tk_main { my $mw = MainWindow->new(); $Ptk{Main_window} = $mw; tk_start(); } sub tk_start { my @liste = qw(X Y Z); $Var{Array_ref_1} = \@liste; $Ptk{Start_f} = $Ptk{Main_window}->Frame()->pack(-fill => 'x'); $Ptk{Start_lb} = $Ptk{Start_f}->Scrolled('Listbox', -scrollbars => 'oe', -height => 6, -selectmode => 'extended', )->pack(); $Ptk{Start_b} = $Ptk{Start_f}->Button()->pack(); $Ptk{Start_lb}->insert('end',@liste); $Ptk{Start_b}->configure(-text => 'Weiter', -command => \&weiter, ); } sub weiter { my @index = $Ptk{Start_lb}->curselection(); $Ptk{Start_f}->destroy(); my @auswahl; foreach (@index) { push(@auswahl,$Var{Array_ref_1}->[$_]); } $Var{Array_ref_2} = \@auswahl; nach_weiter(); } sub nach_weiter { foreach ( @{$Var{Array_ref_2}}) { print "$_\n"; } tk_start(); }
QuoteFont {Arial} 10 {normal} still in cache.
6 Einträge, 1 Seite |