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