The Toolkit for Online Communities
18814 Community Members, 1 member online, 1822 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.