Home
The Toolkit for Online Communities
17228 Community Members, 1 member online, 1846 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : ad_proc and switches... : One Message

Forum OpenACS Development: Response to ad_proc and switches...

Collapse
Posted by Lars Pind on
The same is the case with a number of Tcl built-ins that take switches ("switch", for example): If the argument that you supply to it _may_ start with a dash, you should use a "--" before that argument. That's why you see things like

switch -- $foo {
    ...
}

all over the place.