@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> http://www.abum.com/show/11916/had-some-what.wmv
<0> must be seen
<1> cant see it
<0> sorry for the encoding
<0> :p
<1> i mean its a broken link
<1> at least here
<0> weird
<2> ah i love debian :)
<2> i didnt have have apache with gd support
<2> and i was thinking of friggin frick now i need to compile it \o/
<2> but then i just did apt-get install php4-gd
<2> and apachectl restart
<2> and it worked :)
<3> morgnin
<3> http://www.rafb.net/paste/results/payoYa42.html



<3> this is my script
<3> i cannot undesrant couse i get error on line 67 the main proc
<3> the only thing i did has been adding an if statemanet to check if a var is set....
<4> cause somewhere inside the main proc there is an error
<3> right..
<3> i was thinking the same
<3> :)
<3> so wrong # args: should be "proc name arsg body"
<3> i add line from 84 to 87
<3> and
<3> 127 133
<3> just an if cycle
<3> which is the wrong arg
<3> ?
<3> can any1 give alook:)?
<4> did you make that script you self ?
<3> prehaps the env var is not getting the value...
<3> anc.....don't joke;)
<5> u might wanna show the error u get...
<3> it is a ****ing win alert window
<3> hoca can i past
<3> e
<3> how can i paste it
<3> ?
<5> topic?
<3> i is printed in my system window
<6> just tell us the error
<6> type what it says
<6> lol
<3> wrong # args: should be "proc name arsg body"
<5> the whole shizzle
<4> wrong # args: should be "proc name arsg body" <- that means you are calling the main proc with the wrong arguments
<3> ok
<3> but before i add
<3> those line...
<3> it was workgin
<3> so...it means i have to p*** a new arg...
<3> ?
<3> couse as far as i can see now i am p***ing anything...
<3> to the main loop...
<3> i add line 84
<3> to check my env var...
<4> you are missing a } in 84
<3> ops
<3> well i open one { after the if
<3> and i close that on line...
<3> 128
<3> isn't it?^
<3> then there is an else...another option if the if statement is false
<3> shouldnt be ok?
<4> script is too huge for me to do error finding
<4> dont have time for that
<3> yeah but the error is there at the begining
<3> if u want i can paste one working...
<3> no exaclty as i want
<3> but the error os just there...
<3> in those lines...
<4> paste the exact place where the error exists, and we help
<4> not 1000 lines
<3> k
<3> http://www.rafb.net/paste/results/2jhTH356.html



<3> i add line from 18 to 23
<4> btw as i can see you are not closing that } in line 124
<3> and62 68
<4> seems like the whole script is one big main
<3> it's on 128
<4> if {[info exists env(RENDERLOCATION)]} {
<4> } else {
<4> # the environment var isn't set, use a default
<4> tk_messageBox -message "Create the RENDERLOCATION env variable!" -title Warning -type ok -icon warning
<4> }
<3> before the else...
<4> where is the closing proc ?
<4> }
<4> it just ends the if
<4> and starts a new
<3> you mean if {[info exists env(RENDERLOCATION)]} {blahblh} else {blh blah} is not right
<4> its right
<4> but you need to close the proc before starting a new proc
<4> proc {} { if {[info exists env(RENDERLOCATION)]} {blahblh} else {blh blah} }
<3> u are right
<3> my god
<3> ok
<3> now it is working
<4> :)
<3> but it is like if the script would not see the renderlocation var i have created
<3> is it possible that env do not get inside that part of the script
<3> ?
<3> i mean that the env value cannot catch the environmente var value?
<3> i run the little if in a whish window and was working
<3> intead inside the bigger script it is not
<4> ;if {[info exists vardoesnotexists)]} { puts 1 } else { puts 2 }
<7> anc: #857 (stdout) 2
<3> right that...
<3> i cannot get the var value
<3> from inside
<3> if true puts 1
<3> if false put s
<3> 2
<3> and i get 2
<3> instead of 1 and i add the var bfore
<4> as it is now the var doesnt exist in your script so it wont load that if sentence
<4> ;if {![info exists vardoesnotexists)]} { puts 1 } else { puts 2 }
<7> anc: #867 (stdout) 1
<4> turns it
<3> and how do i add that var
<3> in the script
<3> it is not clear...to me...
<4> ;set vartest "ok"
<7> anc: #872 (174 clicks) Tcl: ok
<4> ;if {[info exists vartest)]} { puts 1 } else { puts 2 }
<7> anc: #873 (stdout) 2
<3> i mean i was trying to get the var from the os environment
<3> set vartest "RENDERLOCATION"
<7> tikall_of: #875 (172 clicks) Tcl: RENDERLOCATION
<4> ;if {[info exists vartest]} { puts 1 } else { puts 2 }
<7> anc: #876 (stdout) 1
<3> but in this way the variable is add inside the script
<3> i want to check if that var is in the operating system
<3> not in the script
<4> eh in operating system ?
<4> in eggdrop
<3> in window i add a variable in the environment
<3> like path
<3> but the name is RENDERLOCATION
<3> and its value is a path i wanna give inside the script
<4> dont know about that, never used tk
<3> so i want the script to look all my window environment for one with that name
<3> it is not tk
<3> it is tcl
<3> i think
<3> i wanna get the list of all the env variable
<3> and check if one with that name exist...
<4> tcl/tk tk is the gui
<3> so those 3 line i add....are working


Name:

Comments:

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






Return to #tcl
or
Go to some related logs:

#windows
stup up
#heroin
#goal
delphi studio 7 torrent
fruity unexpected T_OBJECT_OPERATOR
#sex
#politics
#computers
#heroin



Home  |  disclaimer  |  contact  |  submit quotes