TRLperformance
Programmer
I've written a few stand alone Tcl scripts which work fine but now I want to load them to my web server and allow others to run the same program.
I tried to start simple and embed a simple "hello world" button, but whatever I do I get the following error message.
npNewStream
in NewStream: invalid url "file//:C:\USERS\test.tcl": non numeric port \USERS\test.tcl
test.tcl only contains
button .b -text "Hello, world!"
pack .b
and I have a test.html file which loads the tclk script with
<embed src=test.tcl width=140 height=30>
So what am I doing wrong?
I can get others code to run from the web (example from the Scriptics site) but nothing I write myself. I know the TCL code works and I think I've done something really silly in the html file to <embed> the code?
Can anyone help me.
Thanks
Pete
I tried to start simple and embed a simple "hello world" button, but whatever I do I get the following error message.
npNewStream
in NewStream: invalid url "file//:C:\USERS\test.tcl": non numeric port \USERS\test.tcl
test.tcl only contains
button .b -text "Hello, world!"
pack .b
and I have a test.html file which loads the tclk script with
<embed src=test.tcl width=140 height=30>
So what am I doing wrong?
I can get others code to run from the web (example from the Scriptics site) but nothing I write myself. I know the TCL code works and I think I've done something really silly in the html file to <embed> the code?
Can anyone help me.
Thanks
Pete