The Toolkit for Online Communities
18724 Community Members, 0 members online, 1860 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...

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.