| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> if {![someproc]} { puts a } <0> this should get executed, when someproc returns 0 right? <1> yup <2> [PASTE] Gotisch just pasted code at http://paste.anbcs.com/3870 (find) <0> whats wrong with my string match? <0> hehe <0> http://paste.anbcs.com/3868 <0> those time binds rock :] <0> 450 chars to much <3> ?
<0> nvm <0> tell me whats wrong with my paset <0> paste <0> it gives back <0> fo is not equal to fo <3> first of all: declare the procedures bound to BEFORE the bind (good coding practice) <0> thats not my proc <3> in what procedure? <0> mine is the one paste-me said <3> aaaaight <0> 3870 <0> :) <0> something is wrong with my string match <3> well <3> you shouldnt use string match for string comparison unless you're using wildcards <3> that's why string equal exists <3> so, [string match [string range $input [expr {$found - [string length $stringb]}] $found] $stringb] <3> should be <0> ye <3> [string equal [string range $input [expr {$found - [string length $stringb]}] $found] $stringb] <4> GoMp: #282 (522 clicks) Tcl error: can't read "input": no such variable <0> i had it so before <0> but that didnt work either <0> thats why i changed it to match afterwards :/ <0> but none of the two work <0> [string equal "a" "a"] <4> Gotisch: #287 (417 clicks) Tcl error: invalid command name "string" <0> -.- <0> still not working :) <0> ;set a a <4> Gotisch: #290 (437 clicks) Tcl error: invalid command name "set" <0> ;reset <4> Gotisch: #291 (433 clicks) Tcl error: invalid command name "reset" <3> well, that bunch of code of yours doesnt make any sense to me <3> i feel unsure about what you're checking <3> but anyways, i gotta run <3> there are several others here that might be better suited for helping you out
<0> bye <5> if string match doesnt find a match then the pattern does not match the string, so check pattern and string ;) <5> and that code looks really awful, use a few local variables to make things easier to understand/debug :) <0> ill do it for you :) <2> [PASTE] Gotisch just pasted code at http://paste.anbcs.com/3871 (none) <0> there you go :) <0> but it gives <0> fo is not fo <0> which is not right -.- <5> if you'd output the extracted stringbeforestringa you'd see the problem <0> true <0> why didnt i think of that? <6> favorite ide for tcl? <7> i dont think anyone is actully using any ides <7> we just use syntax hilighters <0> pspad <7> u sure that's an ide ? <6> ive been using something with highlighting ... good stuff <7> it actully support TCL :) <7> worth anything when debugging Gotisch ? <0> no <0> just highliter <0> as you said <7> it should be able to debug :) <7> at least description says so <8> Textpad with FireEgl's syntax highlighting <8> =) <7> isnt he using editpad ? :) <8> he made Textpad highlighting tho <7> all those names <7> ****pad <0> oh <0> never tryed that <0> ill try it <7> does textpad support sftp ? <1> dont know ;) <7> u aint tired of upping it manually every time u have to test ? :) <1> upping? no need if you run your own box with smb ;) <7> yeah, about that, doubt i want that open to my schools ip :) <1> =) <1> there's an excellent tool for that.. a program that you can add a ftp as an network share in explorer, so you can view, edit the files directly <7> im just gonna stay with ultraedit, was just wondering if it was worth a shot :) <7> cause ultraedit has its number of bugs
Return to
#tcl or Go to some related
logs:
#hardware #nhl #goal #delphi #nhl #c #politics Mongo from Heathcliffe
ccbill wordlist kanat enas
|
|