@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> ; set a "hello\n world\ntest"
<1> Gotisch: #5531 (263 clicks) Tcl error: can't set "a": variable is array
<0> ; set b "hello\n world\ntest"
<1> Gotisch: #5532 (154 clicks) Tcl: hello
<1> Gotisch: #5532 (154 clicks) Tcl: world
<1> Gotisch: #5532 (154 clicks) Tcl: test
<0> ; set c [string map {\n ""} $b]
<1> Gotisch: #5533 (334 clicks) Tcl: hello worldtest
<2> erm, tk question
<2> i can't get Up, Down, Return keys to bind to a listbox
<2> no response whatsoever
<2> if i look at the man page
<2> it says those bindings are already there
<2> but when i use them on a listbox, nothing happens
<2> all i did was:



<2> pack [listbox .lb]
<2> foreach item {1 2 3} {.lb insert end $item}
<2> then i click on one of them and hit Up and Down arrow keys, nothing happens...
<3> hm.
<2> listbox ?
<2> listbox ??
<2> http://www.tcl.tk/man/tcl/TkCmd/listbox.htm
<2> [5] If the Up or Down key is pressed, the location cursor (active element) moves up or down one element. If the selection mode is browse or extended then the new active element is also selected and all other elements are deselected. In extended mode the new active element becomes the selection anchor.
<0> omg
<0> wtf is this
<2> ?
<4> wtf is what man?
<5> what has god with this to do
<4> BL4DE huh?
<5> [00:16:21] <+Gotisch> omg
<4> yeah that didnt make sense
<4> "what has this got to do with god?" would have been better
<5> :(
<0> i needed 20 min to figure out that
<5> it wouldnt be good if i wrote it like i just did ?
<0> the hp i was getting info from was a windows server
<0> so new lines where not \n
<4> BL4DE, nah doesnt make much sense at all
<4> newlines would be \r\n
<0> yes
<5> aww :(
<0> i needed 20 min to figure out why my regexp didnt work
<4> i understand because english is my main lang
<4> but anyone who uses english as a second lang wont understand
<5> i highly doubt your statement grimmy
<4> why?
<5> lets settle this... WITH A RACE AROUND THE WORLD
<4> dood
<4> you started smokin weed?
<5> hehe
<5> nah
<5> its not THAT senseless
<4> lol
<4> fyi, weed doesnt make you senseless
<4> it actually stimulates your senses
<4> well all except touch
<4> atleast thats the affect it has on me
<5> your IQ will be lower days after you smoked weed :)
<4> i doubt that
<4> why will it?
<4> i think you need to talk to frank
<5> well, you should test yourself ;)
<4> lol
<4> you need to talk to frank i think
<5> who the heck is frank
<4> lol
<4> the UK drug man
<4> http://www.talktofrank.com/azofdrugs/C/Cannabis.aspx
<4> you'll see there is no risk of becoming stupid
<4> Regular, heavy use makes it harder to learn and concentrate and some people begin to feel tired all the time and can't seem to get motivated.
<4> # There is also increasing evidence of a link between cannabis and mental health problems such as schizophrenia. If you have a history of mental health problems or are experiencing paranoia or depression you definitely want to steer clear of cannabis.
<4> there the only two things even close to lowering your IQ
<0> uh?
<0> (00:33:41) (@[GRiMMY]) i understand because english is my main lang



<0> (00:33:58) (@[GRiMMY]) but anyone who uses english as a second lang wont understand
<4> also, if i only use 25% of my brain, what use is the other 75%?
<0> what do you understand?
<4> ..(3:2:4).. ..@BL4DE.. what has god with this to do
<0> no use just cut it out
<4> ..(23:33:41).. ..@[GRiMMY].. yeah that didnt make sense
<4> ..(23:33:52).. ..@[GRiMMY].. "what has this got to do with god?" would have been better
<0> why?
<0> the question wasnt what that had to do with god
<0> but what god had to do with my problems
<4> still doesnt make sense
<0> maybe you should start using more of your brain :>
<5> well, you brought god into this damn conversation
<4> lol
<5> alot of the brain aint controlled by you
<4> Gotisch, its impossible as far as science knows
<4> BL4DE, it aint used
<0> ha
<0> you can use your brain fairly easily
<4> nope
<0> okok
<0> we normal people can use it fairly easily
<4> lol
<4> oh well
<4> i'm off to sleep
<5> night
<5> dont drink and drive
<6> im drinking tea, is that ok?
<0> as long as you dont drive
<6> ok commander :P
<7> startkeylogger
<6> CORE FORCE!
<5> if he was here i'd tell him this incident was reported to his ISP ;)
<6> lol
<6> you couldn't script it (so to speak)
<6> should have an auto invite script bind on *startkeylogger* invite : #fbi
<8> ;proc testnotes {topic args} { switch -exact $args { default { puts $args } -help { puts "wee" } -nnote { puts [lrange $args 1 end] } } }
<1> R2_2k: #5736 (9472 clicks) Tcl:
<8> ;testnotes test -help
<1> R2_2k: #5737 (642 clicks) Tcl error: bad option "-help": must be -exact, -glob, -regexp, or --
<8> ;proc testnotes {topic args} { switch $args -exact { default { puts $args } -help { puts "wee" } -nnote { puts [lrange $args 1 end] } } }
<1> R2_2k: #5738 (365 clicks) Tcl:
<8> ;testnotes test -help
<1> R2_2k: #5739 (656 clicks) Tcl error: bad option "-help": must be -exact, -glob, -regexp, or --
<8> switch ?
<9> switch -> http://www.tcl.tk/man/tcl8.4/TclCmd/switch.htm
<1> switch -> http://Tcl.Tk/man/tcl8.5/TclCmd/switch.htm
<10> how do i escape a semicolon in tcl ? i need to set a variable with a semicolon in it.
<11> try with a \ just before it
<12> set var "a;b;c" should work
<11> oh
<10> the var looks liks this: set var "com -r "foo 'bar';""
<10> the thing is i want to exec phpcli within tcl.
<10> php uses: phpcli -r 'echo "foobar";'
<12> ;set var "com -r \"foo 'bar';\""
<1> thommey: #5782 (181 clicks) Tcl: com -r "foo 'bar';"
<10> "list element in quotes followed by ";" instead of space"
<10> grr
<10> now i get "extra characters after close-quote". the var is: set var "phpcli -r \'echo "bar";\'"
<11> ;set var "phpcli -r \'echo "bar";\'"
<1> Energy|bn: #5786 (202 clicks) Tcl error: extra characters after close-quote
<11> ;set var "phpcli -r \'echo \"bar\";\'"
<1> Energy|bn: #5787 (161 clicks) Tcl: phpcli -r 'echo "bar";'
<11> that worx
<13> set var {phpcli -r 'echo "bar";'}
<1> Powrforce: #5789 (146 clicks) Tcl: phpcli -r 'echo "bar";'
<10> it wont work. i give up.
<10> ok, now i get this: couldn't execute "phpcli": permission denied, but it has the permission in bash. does tcl have its own user or what ?
<2> so, does anybody know why up down arrow keys don't work in listbox (browse mode)?
<2> even though manpage says those are default bindings


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #tcl
or
Go to some related logs:

Epimesh
quotes about ghanna
Acronym Soup: DIIK?
#firebird
#stocks
#linux-noob
#windows
#computers
#slackware
#politics



Home  |  disclaimer  |  contact  |  submit quotes