brand new to tcl; newbie question
- From: chedderslam <chedderslam@xxxxxxxxx>
- Date: Tue, 29 Apr 2008 11:53:12 -0700 (PDT)
I am only a couple of days into tcl and XOWiki. I am trying to call a
basic function but can't figure out how to call one.
proc test {} {
return "text to display"
}
proc content {} {
set somevar test()
return "$somevar"
}
How do you call a function?
i.e. in "set somevar test()" i want to call test...
Thank you.
.
- Follow-Ups:
- Re: brand new to tcl; newbie question
- From: Bryan Oakley
- Re: brand new to tcl; newbie question
- Prev by Date: glob behaviour changed in 8.4, documented?
- Next by Date: Re: brand new to tcl; newbie question
- Previous by thread: glob behaviour changed in 8.4, documented?
- Next by thread: Re: brand new to tcl; newbie question
- Index(es):
Relevant Pages
|