logo
Toggle navigation
Begin main navigation
About
Projects
Download
Documentation
Wiki
Forums
Log In
Go!
OpenACS – The Toolkit for Online Communities
:
Forums
:
OpenACS Q&A
: tcl procs/API
Begin main content
Forum OpenACS Q&A: tcl procs/API
Search:
Back to OpenACS Q&A
1
:
tcl procs/API
Posted by
David Lee
on
03/13/06 08:43 AM
I'm looking at the API of the packages, and there's a lot of procedures like template::insert-name. I'm trying to understand, what does the "::" mean? Is the entire thing the name of a procedure, with the "::" just for decoration?
2
:
Re: tcl procs/API
(response to
1
)
Posted by
Claudio Pasolini
on
03/13/06 10:34 AM
The "::" is a separator used to fully qualify a command or variable within a namespace, much like a "/" within a file path.
See
http://www.tcl.tk/man/tcl8.3/TclCmd/namespace.htm
for more.
3
:
Re: Re: tcl procs/API
(response to
2
)
Posted by
David Lee
on
03/13/06 11:27 PM
so a namespace is basically just like a class in java, right? or a structure in C?
Back to OpenACS Q&A