Re: brand new to tcl; newbie question
- From: Bryan Oakley <oakley@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 14:13:26 -0500
chedderslam wrote:
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.
set somevar [test]
.
- Follow-Ups:
- Re: brand new to tcl; newbie question
- From: chedderslam
- Re: brand new to tcl; newbie question
- From: Glenn Jackman
- Re: brand new to tcl; newbie question
- References:
- brand new to tcl; newbie question
- From: chedderslam
- brand new to tcl; newbie question
- Prev by Date: brand new to tcl; newbie question
- Next by Date: Re: brand new to tcl; newbie question
- Previous by thread: brand new to tcl; newbie question
- Next by thread: Re: brand new to tcl; newbie question
- Index(es):
Relevant Pages
|