Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic tcl syntax question

Status
Not open for further replies.

9tontruck

Programmer
Oct 28, 2011
1
CA
I found several basic tcl syntax on the web but they are not working on my computer!!
----------------------------
proc foo {a b} {puts "$a $b"}
foo a b
----------------------------
->prints nothing

----------------------------
doc_return 200 "text/html" "Hello"
doc_return 200 "text/html" " World"
----------------------------
->this prints only "Hello"

What is wrong???
 
Hi

Regarding the first one, it works for me :
Code:
[blue]%[/blue] proc foo {a b} {puts "$a $b"}
[blue]%[/blue] foo a b
a b
Regarding the second one, you will have to post a reference to that doc_return. I have no idea from where it comes.


Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top