Re: Tcl script fails on some platforms



Sorry, I thought I'd done that in the lines -

puts "this is the image filename: $l_image_file"
# If the user picked a file
if {$l_image_file != ""} {
puts "Okay, the image filename wasn't blank"
# add the image to the current session
$::session addImage $l_image_file

addImage is surely the method, and l_image_file is the variable???


.



Relevant Pages

  • Re: Tcl script fails on some platforms
    ... Ah, okay, I think I'm beginning to understand. ... the image filename wasn't blank" ... puts "but the code doesn't seem to have reached here" ... tried on a second machine has the code working fine on the other ...
    (comp.lang.tcl)
  • Re: Tcl script fails on some platforms
    ... puts "Okay, the image filename wasn't blank" ... giving the 'invalid command name ""' error. ...
    (comp.lang.tcl)
  • Re: Tcl script fails on some platforms
    ... puts "Okay, the image filename wasn't blank" ... addImage is surely the method, ... $::session is null for whatever reason. ...
    (comp.lang.tcl)